]> git.proxmox.com Git - mirror_qemu.git/commit
smbios: get rid of smbios_smp_sockets global
authorIgor Mammedov <imammedo@redhat.com>
Thu, 14 Mar 2024 15:22:46 +0000 (16:22 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 18 Mar 2024 12:42:45 +0000 (08:42 -0400)
commite94e0a833b9d909e239829a2030dbb6e7c2db01d
treea56bfc0fbad32998b53dd62a021e80a1543e90bf
parenta7bdf7186f8ee5955874438ec2ddb1d28bc084b4
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>
hw/i386/fw_cfg.c
hw/smbios/smbios.c
include/hw/firmware/smbios.h