Statistics
| Branch: | Revision:

root / include / qemu / config-file.h @ 5a37532d

History | View | Annotate | Download (682 Bytes)

1
#ifndef QEMU_CONFIG_H
2
#define QEMU_CONFIG_H
3

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

    
9
QemuOptsList *qemu_find_opts(const char *group);
10
QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
11
void qemu_add_opts(QemuOptsList *list);
12
int qemu_set_option(const char *str);
13
int qemu_global_option(const char *str);
14
void qemu_add_globals(void);
15

    
16
void qemu_config_write(FILE *fp);
17
int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
18

    
19
int qemu_read_config_file(const char *filename);
20

    
21
/* Read default QEMU config files
22
 */
23
int qemu_read_default_config_files(bool userconfig);
24

    
25
#endif /* QEMU_CONFIG_H */