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