qapi: move inclusions of qemu-common.h from headers to .c files
[qemu/ar7.git] / qemu-config.h
blobeb50eca838a8cdccf675588f7ac70f6ab17c0539
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 #include <stdio.h>
5 #include "qemu-option.h"
6 #include "error.h"
7 #include "qemu-option.h"
9 extern QemuOptsList qemu_fsdev_opts;
10 extern QemuOptsList qemu_virtfs_opts;
11 extern QemuOptsList qemu_spice_opts;
12 extern QemuOptsList qemu_sandbox_opts;
14 QemuOptsList *qemu_find_opts(const char *group);
15 QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
16 void qemu_add_opts(QemuOptsList *list);
17 int qemu_set_option(const char *str);
18 int qemu_global_option(const char *str);
19 void qemu_add_globals(void);
21 void qemu_config_write(FILE *fp);
22 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
24 int qemu_read_config_file(const char *filename);
26 /* Read default QEMU config files
28 int qemu_read_default_config_files(bool userconfig);
30 #endif /* QEMU_CONFIG_H */