postcopy: drop ram_pages parameter from postcopy_ram_incoming_init()
[qemu.git] / include / qemu / config-file.h
blobd74f92015297dfe21f9a1f0f3be07e4e152cbea5
1 #ifndef QEMU_CONFIG_FILE_H
2 #define QEMU_CONFIG_FILE_H
5 QemuOptsList *qemu_find_opts(const char *group);
6 QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
7 QemuOpts *qemu_find_opts_singleton(const char *group);
9 void qemu_add_opts(QemuOptsList *list);
10 void qemu_add_drive_opts(QemuOptsList *list);
11 int qemu_set_option(const char *str);
12 int qemu_global_option(const char *str);
14 void qemu_config_write(FILE *fp);
15 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
17 int qemu_read_config_file(const char *filename);
19 /* Parse QDict options as a replacement for a config file (allowing multiple
20 enumerated (0..(n-1)) configuration "sections") */
21 void qemu_config_parse_qdict(QDict *options, QemuOptsList **lists,
22 Error **errp);
24 #endif /* QEMU_CONFIG_FILE_H */