blob: 20d707fa1f10ed2b7bd235fee3a16ba6fcfa4034 [file] [log] [blame]
Gerd Hoffmann9d868d42009-09-10 10:58:34 +02001#ifndef QEMU_CONFIG_H
2#define QEMU_CONFIG_H
3
Gautham R Shenoy74db9202010-04-29 17:44:43 +05304extern QemuOptsList qemu_fsdev_opts;
Gautham R Shenoy3d54abc2010-04-29 17:45:03 +05305extern QemuOptsList qemu_virtfs_opts;
Gerd Hoffmann29b00402010-03-11 11:13:27 -03006extern QemuOptsList qemu_spice_opts;
Gerd Hoffmannd058fe02009-07-31 12:25:36 +02007
Markus Armbruster304329e2010-02-10 20:09:14 +01008QemuOptsList *qemu_find_opts(const char *group);
Gerd Hoffmanndfe795e2010-08-20 13:52:00 +02009void qemu_add_opts(QemuOptsList *list);
Gerd Hoffmannd058fe02009-07-31 12:25:36 +020010int qemu_set_option(const char *str);
Gerd Hoffmannd0fef6f2009-12-08 13:11:34 +010011int qemu_global_option(const char *str);
12void qemu_add_globals(void);
Gerd Hoffmann9d868d42009-09-10 10:58:34 +020013
Gerd Hoffmann9d993392009-10-14 10:39:26 +020014void qemu_config_write(FILE *fp);
Kevin Wolf490b6482010-03-05 18:21:56 +010015int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
Gerd Hoffmann9d993392009-10-14 10:39:26 +020016
Kevin Wolfdcfb0932010-03-05 17:25:55 +010017int qemu_read_config_file(const char *filename);
18
Gerd Hoffmann9d868d42009-09-10 10:58:34 +020019#endif /* QEMU_CONFIG_H */