pci: use PCI_DEVFN in pci_get_bus_devfn()
[qemu.git] / qemu-config.h
blob20d707fa1f10ed2b7bd235fee3a16ba6fcfa4034
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 #endif /* QEMU_CONFIG_H */