mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
3329f07b7a
Switch tree to lookup-by-name using qemu_find_opts(). Also hook up virtfs options so qemu_find_opts works for them too. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
19 lines
505 B
C
19 lines
505 B
C
#ifndef QEMU_CONFIG_H
|
|
#define QEMU_CONFIG_H
|
|
|
|
extern QemuOptsList qemu_fsdev_opts;
|
|
extern QemuOptsList qemu_virtfs_opts;
|
|
|
|
QemuOptsList *qemu_find_opts(const char *group);
|
|
void qemu_add_opts(QemuOptsList *list);
|
|
int qemu_set_option(const char *str);
|
|
int qemu_global_option(const char *str);
|
|
void qemu_add_globals(void);
|
|
|
|
void qemu_config_write(FILE *fp);
|
|
int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
|
|
|
|
int qemu_read_config_file(const char *filename);
|
|
|
|
#endif /* QEMU_CONFIG_H */
|