diff options
author | Igor Mammedov <imammedo@redhat.com> | 2024-03-14 16:22:46 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-18 08:42:45 -0400 |
commit | e94e0a833b9d909e239829a2030dbb6e7c2db01d (patch) | |
tree | a56bfc0fbad32998b53dd62a021e80a1543e90bf /include/hw/firmware | |
parent | a7bdf7186f8ee5955874438ec2ddb1d28bc084b4 (diff) | |
download | qemu-e94e0a833b9d909e239829a2030dbb6e7c2db01d.zip qemu-e94e0a833b9d909e239829a2030dbb6e7c2db01d.tar.gz qemu-e94e0a833b9d909e239829a2030dbb6e7c2db01d.tar.bz2 |
smbios: get rid of smbios_smp_sockets global
it makes smbios_validate_table() independent from
smbios_smp_sockets global, which in turn lets
smbios_get_tables() avoid using not related legacy code.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Tested-by: Fiona Ebner <f.ebner@proxmox.com>
Message-Id: <20240314152302.2324164-6-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/firmware')
-rw-r--r-- | include/hw/firmware/smbios.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/firmware/smbios.h b/include/hw/firmware/smbios.h index c21b8d3..36744b6 100644 --- a/include/hw/firmware/smbios.h +++ b/include/hw/firmware/smbios.h @@ -313,7 +313,7 @@ void smbios_set_defaults(const char *manufacturer, const char *product, const char *version, bool legacy_mode, bool uuid_encoded, SmbiosEntryPointType ep_type); void smbios_set_default_processor_family(uint16_t processor_family); -uint8_t *smbios_get_table_legacy(MachineState *ms, size_t *length); +uint8_t *smbios_get_table_legacy(uint32_t expected_t4_count, size_t *length); void smbios_get_tables(MachineState *ms, const struct smbios_phys_mem_area *mem_array, const unsigned int mem_array_size, |