ppc: Move misc helpers from helper.c to misc_helper.c
[qemu.git] / qemu-config.h
blobe9f2ef4c7b05c93ae884199602be839fef53b2fa
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;
10 QemuOptsList *qemu_find_opts(const char *group);
11 QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
12 void qemu_add_opts(QemuOptsList *list);
13 int qemu_set_option(const char *str);
14 int qemu_global_option(const char *str);
15 void qemu_add_globals(void);
17 void qemu_config_write(FILE *fp);
18 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
20 int qemu_read_config_file(const char *filename);
22 /* Read default Qemu config files
24 int qemu_read_default_config_files(bool userconfig);
26 #endif /* QEMU_CONFIG_H */