qemu/hw/smbios
Igor Mammedov 5ed7948213 smbios: error out when building type 4 table is not possible
If SMBIOS v2 version is requested but number of cores/threads
are more than it's possible to describe with v2, error out
instead of silently ignoring the fact and filling core/thread
count with bogus values.

This will help caller to decide if it should fallback to
SMBIOSv3 when smbios-entry-point-type='auto'

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-18-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-03-18 08:42:46 -04:00
..
Kconfig smbios: build legacy mode code only for 'pc' machine 2024-03-18 08:42:45 -04:00
meson.build smbios: build legacy mode code only for 'pc' machine 2024-03-18 08:42:45 -04:00
smbios_build.h hw/smbios: add core_count2 to smbios table type 4 2022-11-07 14:08:17 -05:00
smbios_legacy_stub.c smbios: build legacy mode code only for 'pc' machine 2024-03-18 08:42:45 -04:00
smbios_legacy.c smbios: get rid of global smbios_ep_type 2024-03-18 08:42:45 -04:00
smbios_type_38-stub.c hw/smbios: Remove "smbios_ipmi.h" 2018-12-19 16:48:16 -05:00
smbios_type_38.c smbios:ipmi: Ignore IPMI devices with no fwinfo function 2019-09-20 14:08:10 -05:00
smbios-stub.c hw/smbios: Dumb down smbios_entry_add() stub 2023-02-23 14:10:17 +01:00
smbios.c smbios: error out when building type 4 table is not possible 2024-03-18 08:42:46 -04:00