summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorMarkus Armbruster2013-08-16 15:18:29 +0200
committerMichael S. Tsirkin2013-09-28 22:49:06 +0200
commit4f953d2fc806f1ba6fa76f01dfd121fe7d0dc4a7 (patch)
tree0ef0c4c27ac8662440d4ceb8ff290f8a16074a51 /include/sysemu
parentsmbios: Normalize smbios_entry_add()'s error handling to exit(1) (diff)
downloadqemu-4f953d2fc806f1ba6fa76f01dfd121fe7d0dc4a7.tar.gz
qemu-4f953d2fc806f1ba6fa76f01dfd121fe7d0dc4a7.tar.xz
qemu-4f953d2fc806f1ba6fa76f01dfd121fe7d0dc4a7.zip
smbios: Convert to QemuOpts
So that it can be set in config file for -readconfig. This tightens parsing of -smbios, and makes it more consistent with other options: unknown parameters are rejected, numbers with trailing junk are rejected, when a parameter is given multiple times, last rather than first wins, ... MST: drop one chunk to fix build errors Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/arch_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h
index dece913e7b..be71bcac2d 100644
--- a/include/sysemu/arch_init.h
+++ b/include/sysemu/arch_init.h
@@ -28,7 +28,7 @@ extern const uint32_t arch_type;
void select_soundhw(const char *optarg);
void do_acpitable_option(const QemuOpts *opts);
-void do_smbios_option(const char *optarg);
+void do_smbios_option(QemuOpts *opts);
void cpudef_init(void);
void audio_init(void);
int tcg_available(void);