shpc: unparent device before free
[qemu/ar7.git] / qemu-config.h
blob6d7365d35ba9041442ef8f6bdaaf498f387d0ad8
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 extern QemuOptsList qemu_fsdev_opts;
5 extern QemuOptsList qemu_virtfs_opts;
6 extern QemuOptsList qemu_spice_opts;
8 QemuOptsList *qemu_find_opts(const char *group);
9 void qemu_add_opts(QemuOptsList *list);
10 int qemu_set_option(const char *str);
11 int qemu_global_option(const char *str);
12 void qemu_add_globals(void);
14 void qemu_config_write(FILE *fp);
15 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
17 int qemu_read_config_file(const char *filename);
19 /* Read default Qemu config files
21 int qemu_read_default_config_files(bool userconfig);
23 #endif /* QEMU_CONFIG_H */