]>
Commit | Line | Data |
---|---|---|
9d868d45 GH |
1 | #ifndef QEMU_CONFIG_H |
2 | #define QEMU_CONFIG_H | |
3 | ||
60d5666f LC |
4 | #include "error.h" |
5 | ||
74db920c | 6 | extern QemuOptsList qemu_fsdev_opts; |
3d54abc7 | 7 | extern QemuOptsList qemu_virtfs_opts; |
29b0040b | 8 | extern QemuOptsList qemu_spice_opts; |
7d76ad4f | 9 | extern QemuOptsList qemu_sandbox_opts; |
d058fe03 | 10 | |
304329ee | 11 | QemuOptsList *qemu_find_opts(const char *group); |
60d5666f | 12 | QemuOptsList *qemu_find_opts_err(const char *group, Error **errp); |
dfe795e7 | 13 | void qemu_add_opts(QemuOptsList *list); |
d058fe03 | 14 | int qemu_set_option(const char *str); |
d0fef6fb GH |
15 | int qemu_global_option(const char *str); |
16 | void qemu_add_globals(void); | |
9d868d45 | 17 | |
9d993394 | 18 | void qemu_config_write(FILE *fp); |
490b648e | 19 | int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname); |
9d993394 | 20 | |
dcfb0939 KW |
21 | int qemu_read_config_file(const char *filename); |
22 | ||
bf7eaa5f | 23 | /* Read default QEMU config files |
b5a8fe5e | 24 | */ |
f29a5614 | 25 | int qemu_read_default_config_files(bool userconfig); |
b5a8fe5e | 26 | |
9d868d45 | 27 | #endif /* QEMU_CONFIG_H */ |