configure: bail out early on invalid -cpu option
[qemu-kvm.git] / qemu-config.h
blobdca69d454b419dc20f26582b044041d43d08dc4a
1 #ifndef QEMU_CONFIG_H
2 #define QEMU_CONFIG_H
4 extern QemuOptsList qemu_drive_opts;
5 extern QemuOptsList qemu_chardev_opts;
6 #ifdef CONFIG_LINUX
7 extern QemuOptsList qemu_fsdev_opts;
8 extern QemuOptsList qemu_virtfs_opts;
9 #endif
10 extern QemuOptsList qemu_device_opts;
11 extern QemuOptsList qemu_netdev_opts;
12 extern QemuOptsList qemu_net_opts;
13 extern QemuOptsList qemu_rtc_opts;
14 extern QemuOptsList qemu_global_opts;
15 extern QemuOptsList qemu_mon_opts;
16 extern QemuOptsList qemu_cpudef_opts;
18 QemuOptsList *qemu_find_opts(const char *group);
19 int qemu_set_option(const char *str);
20 int qemu_global_option(const char *str);
21 void qemu_add_globals(void);
23 void qemu_config_write(FILE *fp);
24 int qemu_config_parse(FILE *fp, QemuOptsList **lists, const char *fname);
26 int qemu_read_config_file(const char *filename);
28 #endif /* QEMU_CONFIG_H */