virtio: limit avail bytes lookahead
[qemu/ar7.git] / qemu-config.h
blob812c4c5b10f0d6c9833b7c36f5c840c40e7efba7
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 #include <stdio.h>
5 #include "qemu-option.h"
6 #include "error.h"
8 extern QemuOptsList qemu_fsdev_opts;
9 extern QemuOptsList qemu_virtfs_opts;
10 extern QemuOptsList qemu_spice_opts;
11 extern QemuOptsList qemu_sandbox_opts;
13 QemuOptsList *qemu_find_opts(const char *group);
14 QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
15 void qemu_add_opts(QemuOptsList *list);
16 int qemu_set_option(const char *str);
17 int qemu_global_option(const char *str);
18 void qemu_add_globals(void);
20 void qemu_config_write(FILE *fp);
21 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
23 int qemu_read_config_file(const char *filename);
25 /* Read default QEMU config files
27 int qemu_read_default_config_files(bool userconfig);
29 #endif /* QEMU_CONFIG_H */