mirror of
https://github.com/qemu/qemu.git
synced 2024-11-30 23:33:51 +08:00
c8aba9ced9
Include: - <stdio.h> for FILE - qemu-option.h for QemuOptsList Some of those headers were probably being included by accident because some other headers were including qemu-common.h, but those headers should eventually stop including qemu-common.h. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
30 lines
804 B
C
30 lines
804 B
C
#ifndef QEMU_CONFIG_H
|
|
#define QEMU_CONFIG_H
|
|
|
|
#include <stdio.h>
|
|
#include "qemu-option.h"
|
|
#include "error.h"
|
|
|
|
extern QemuOptsList qemu_fsdev_opts;
|
|
extern QemuOptsList qemu_virtfs_opts;
|
|
extern QemuOptsList qemu_spice_opts;
|
|
extern QemuOptsList qemu_sandbox_opts;
|
|
|
|
QemuOptsList *qemu_find_opts(const char *group);
|
|
QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
|
|
void qemu_add_opts(QemuOptsList *list);
|
|
int qemu_set_option(const char *str);
|
|
int qemu_global_option(const char *str);
|
|
void qemu_add_globals(void);
|
|
|
|
void qemu_config_write(FILE *fp);
|
|
int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
|
|
|
|
int qemu_read_config_file(const char *filename);
|
|
|
|
/* Read default QEMU config files
|
|
*/
|
|
int qemu_read_default_config_files(bool userconfig);
|
|
|
|
#endif /* QEMU_CONFIG_H */
|