diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-08-16 15:18:29 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-09-28 23:49:06 +0300 |
commit | 4f953d2fc806f1ba6fa76f01dfd121fe7d0dc4a7 (patch) | |
tree | 0ef0c4c27ac8662440d4ceb8ff290f8a16074a51 /include/hw/i386/smbios.h | |
parent | 351a6a73ca7a9123f0dfd6c6f85fd01e82fe3741 (diff) |
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/hw/i386/smbios.h')
-rw-r--r-- | include/hw/i386/smbios.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hw/i386/smbios.h b/include/hw/i386/smbios.h index 56c6108848..d9f43b7c57 100644 --- a/include/hw/i386/smbios.h +++ b/include/hw/i386/smbios.h @@ -13,7 +13,9 @@ * */ -void smbios_entry_add(const char *t); +#include "qemu/option.h" + +void smbios_entry_add(QemuOpts *opts); void smbios_add_field(int type, int offset, const void *data, size_t len); uint8_t *smbios_get_table(size_t *length); |