mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
smbios: build legacy mode code only for 'pc' machine
basically moving code around without functional change. And exposing some symbols so that they could be shared between smbbios.c and new smbios_legacy.c plus some meson magic to build smbios_legacy.c only for 'pc' machine and otherwise replace it with stub if not selected. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Ani Sinha <anisinha@redhat.com> Message-Id: <20240314152302.2324164-12-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d638a8659b
commit
b42b0e4daa
7 changed files with 207 additions and 163 deletions
|
@ -76,6 +76,7 @@ config I440FX
|
|||
select PIIX
|
||||
select DIMM
|
||||
select SMBIOS
|
||||
select SMBIOS_LEGACY
|
||||
select FW_CFG_DMA
|
||||
|
||||
config ISAPC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue