Gerd Hoffmann | 9d868d4 | 2009-09-10 10:58:34 +0200 | [diff] [blame] | 1 | #ifndef QEMU_CONFIG_H |
| 2 | #define QEMU_CONFIG_H |
| 3 | |
Gautham R Shenoy | 74db920 | 2010-04-29 17:44:43 +0530 | [diff] [blame] | 4 | extern QemuOptsList qemu_fsdev_opts; |
Gautham R Shenoy | 3d54abc | 2010-04-29 17:45:03 +0530 | [diff] [blame] | 5 | extern QemuOptsList qemu_virtfs_opts; |
Gerd Hoffmann | 29b0040 | 2010-03-11 11:13:27 -0300 | [diff] [blame] | 6 | extern QemuOptsList qemu_spice_opts; |
Gerd Hoffmann | d058fe0 | 2009-07-31 12:25:36 +0200 | [diff] [blame] | 7 | |
Markus Armbruster | 304329e | 2010-02-10 20:09:14 +0100 | [diff] [blame] | 8 | QemuOptsList *qemu_find_opts(const char *group); |
Gerd Hoffmann | dfe795e | 2010-08-20 13:52:00 +0200 | [diff] [blame] | 9 | void qemu_add_opts(QemuOptsList *list); |
Gerd Hoffmann | d058fe0 | 2009-07-31 12:25:36 +0200 | [diff] [blame] | 10 | int qemu_set_option(const char *str); |
Gerd Hoffmann | d0fef6f | 2009-12-08 13:11:34 +0100 | [diff] [blame] | 11 | int qemu_global_option(const char *str); |
| 12 | void qemu_add_globals(void); |
Gerd Hoffmann | 9d868d4 | 2009-09-10 10:58:34 +0200 | [diff] [blame] | 13 | |
Gerd Hoffmann | 9d99339 | 2009-10-14 10:39:26 +0200 | [diff] [blame] | 14 | void qemu_config_write(FILE *fp); |
Kevin Wolf | 490b648 | 2010-03-05 18:21:56 +0100 | [diff] [blame] | 15 | int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname); |
Gerd Hoffmann | 9d99339 | 2009-10-14 10:39:26 +0200 | [diff] [blame] | 16 | |
Kevin Wolf | dcfb093 | 2010-03-05 17:25:55 +0100 | [diff] [blame] | 17 | int qemu_read_config_file(const char *filename); |
| 18 | |
Gerd Hoffmann | 9d868d4 | 2009-09-10 10:58:34 +0200 | [diff] [blame] | 19 | #endif /* QEMU_CONFIG_H */ |