serial: add pci variant
[qemu/opensuse.git] / qemu-config.h
blob5557562c3377a28f3526f5b2122b356ad5465255
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 #include "error.h"
6 extern QemuOptsList qemu_fsdev_opts;
7 extern QemuOptsList qemu_virtfs_opts;
8 extern QemuOptsList qemu_spice_opts;
9 extern QemuOptsList qemu_sandbox_opts;
11 QemuOptsList *qemu_find_opts(const char *group);
12 QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
13 void qemu_add_opts(QemuOptsList *list);
14 int qemu_set_option(const char *str);
15 int qemu_global_option(const char *str);
16 void qemu_add_globals(void);
18 void qemu_config_write(FILE *fp);
19 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
21 int qemu_read_config_file(const char *filename);
23 /* Read default QEMU config files
25 int qemu_read_default_config_files(bool userconfig);
27 #endif /* QEMU_CONFIG_H */