mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 19:09:35 +00:00
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>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
351a6a73ca
commit
4f953d2fc8
@ -1134,10 +1134,10 @@ void do_acpitable_option(const QemuOpts *opts)
|
||||
#endif
|
||||
}
|
||||
|
||||
void do_smbios_option(const char *optarg)
|
||||
void do_smbios_option(QemuOpts *opts)
|
||||
{
|
||||
#ifdef TARGET_I386
|
||||
smbios_entry_add(optarg);
|
||||
smbios_entry_add(opts);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user