mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults()
'uuid_encoded' is always true, remove it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20240617071118.60464-12-philmd@linaro.org>
This commit is contained in:
parent
05814d9663
commit
c338128e80
6 changed files with 7 additions and 11 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "hw/pci/pci_device.h"
|
||||
#include "smbios_build.h"
|
||||
|
||||
static bool smbios_uuid_encoded = true;
|
||||
static const bool smbios_uuid_encoded = true;
|
||||
/*
|
||||
* SMBIOS tables provided by user with '-smbios file=<foo>' option
|
||||
*/
|
||||
|
@ -1017,11 +1017,9 @@ void smbios_set_default_processor_family(uint16_t processor_family)
|
|||
}
|
||||
|
||||
void smbios_set_defaults(const char *manufacturer, const char *product,
|
||||
const char *version,
|
||||
bool uuid_encoded)
|
||||
const char *version)
|
||||
{
|
||||
smbios_have_defaults = true;
|
||||
smbios_uuid_encoded = uuid_encoded;
|
||||
|
||||
SMBIOS_SET_DEFAULT(smbios_type1.manufacturer, manufacturer);
|
||||
SMBIOS_SET_DEFAULT(smbios_type1.product, product);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue