summary refs log tree commit diff stats
path: root/hw/intc/m68k_irqc.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2024-03-14 16:22:45 +0100
committerMichael S. Tsirkin <mst@redhat.com>2024-03-18 08:42:45 -0400
commita7bdf7186f8ee5955874438ec2ddb1d28bc084b4 (patch)
tree7f9a80e392ad345458699b569d0f2ff09cbb9d43 /hw/intc/m68k_irqc.c
parent579094cb995b605af07ba3ced3d0a5dc1545509c (diff)
downloadfocaccia-qemu-a7bdf7186f8ee5955874438ec2ddb1d28bc084b4.tar.gz
focaccia-qemu-a7bdf7186f8ee5955874438ec2ddb1d28bc084b4.zip
smbios: cleanup smbios_get_tables() from legacy handling
smbios_get_tables() bails out right away if leagacy mode is enabled
and won't generate any SMBIOS tables. At the same time x86 specific
fw_cfg_build_smbios() will genarate legacy tables and then proceed
to preparing temporary mem_array for useless call to
smbios_get_tables() and then discard it.

Drop legacy related check in smbios_get_tables() and return from
fw_cfg_build_smbios() early if legacy tables where built without
proceeding to non legacy part of the function.

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-5-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc/m68k_irqc.c')
0 files changed, 0 insertions, 0 deletions