qemu-io: Fix return value handling of bdrv_open
[qemu.git] / qemu-config.h
blobf217c589f7452dbd03280f6d308de0641496fb9d
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 extern QemuOptsList qemu_drive_opts;
5 extern QemuOptsList qemu_chardev_opts;
6 extern QemuOptsList qemu_device_opts;
7 extern QemuOptsList qemu_netdev_opts;
8 extern QemuOptsList qemu_net_opts;
9 extern QemuOptsList qemu_rtc_opts;
10 extern QemuOptsList qemu_global_opts;
11 extern QemuOptsList qemu_mon_opts;
12 extern QemuOptsList qemu_cpudef_opts;
14 QemuOptsList *qemu_find_opts(const char *group);
15 int qemu_set_option(const char *str);
16 int qemu_global_option(const char *str);
17 void qemu_add_globals(void);
19 void qemu_config_write(FILE *fp);
20 int qemu_config_parse(FILE *fp, const char *fname);
22 #endif /* QEMU_CONFIG_H */