Statistics
| Branch: | Revision:

root / qemu-config.h @ 077805fa

History | View | Annotate | Download (829 Bytes)

1
#ifndef QEMU_CONFIG_H
2
#define QEMU_CONFIG_H
3

    
4
#include <stdio.h>
5
#include "qemu-option.h"
6
#include "error.h"
7
#include "qemu-option.h"
8

    
9
extern QemuOptsList qemu_fsdev_opts;
10
extern QemuOptsList qemu_virtfs_opts;
11
extern QemuOptsList qemu_spice_opts;
12
extern QemuOptsList qemu_sandbox_opts;
13

    
14
QemuOptsList *qemu_find_opts(const char *group);
15
QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
16
void qemu_add_opts(QemuOptsList *list);
17
int qemu_set_option(const char *str);
18
int qemu_global_option(const char *str);
19
void qemu_add_globals(void);
20

    
21
void qemu_config_write(FILE *fp);
22
int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
23

    
24
int qemu_read_config_file(const char *filename);
25

    
26
/* Read default QEMU config files
27
 */
28
int qemu_read_default_config_files(bool userconfig);
29

    
30
#endif /* QEMU_CONFIG_H */