2009-09-10 10:58:34 +02:00
|
|
|
#ifndef QEMU_CONFIG_H
|
|
|
|
#define QEMU_CONFIG_H
|
|
|
|
|
2012-10-24 01:29:38 +02:00
|
|
|
#include <stdio.h>
|
2012-12-17 18:20:00 +01:00
|
|
|
#include "qemu/option.h"
|
2012-12-17 18:19:43 +01:00
|
|
|
#include "qapi/error.h"
|
2012-12-17 18:20:00 +01:00
|
|
|
#include "qemu/option.h"
|
2012-03-28 19:16:37 +02:00
|
|
|
|
2010-02-10 20:09:14 +01:00
|
|
|
QemuOptsList *qemu_find_opts(const char *group);
|
2012-03-28 19:16:37 +02:00
|
|
|
QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
|
2010-08-20 13:52:00 +02:00
|
|
|
void qemu_add_opts(QemuOptsList *list);
|
2009-07-31 12:25:36 +02:00
|
|
|
int qemu_set_option(const char *str);
|
2009-12-08 13:11:34 +01:00
|
|
|
int qemu_global_option(const char *str);
|
|
|
|
void qemu_add_globals(void);
|
2009-09-10 10:58:34 +02:00
|
|
|
|
2009-10-14 10:39:26 +02:00
|
|
|
void qemu_config_write(FILE *fp);
|
2010-03-05 18:21:56 +01:00
|
|
|
int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
|
2009-10-14 10:39:26 +02:00
|
|
|
|
2010-03-05 17:25:55 +01:00
|
|
|
int qemu_read_config_file(const char *filename);
|
|
|
|
|
2012-06-16 09:29:10 +02:00
|
|
|
/* Read default QEMU config files
|
2012-05-02 18:07:25 +02:00
|
|
|
*/
|
2012-05-02 18:07:29 +02:00
|
|
|
int qemu_read_default_config_files(bool userconfig);
|
2012-05-02 18:07:25 +02:00
|
|
|
|
2009-09-10 10:58:34 +02:00
|
|
|
#endif /* QEMU_CONFIG_H */
|