virtio-serial: Remove redundant check for 0-sized write request
[qemu/kraxel.git] / qemu-config.h
blobdd299c23d19aaa4f03126d4aa566983fc8afe0f3
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, QemuOptsList **lists, const char *fname);
22 int qemu_read_config_file(const char *filename);
24 #endif /* QEMU_CONFIG_H */