]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_piix.c
SMBIOS: Build aggregate smbios tables and entry point
authorGabriel L. Somlo <gsomlo@gmail.com>
Wed, 23 Apr 2014 13:42:42 +0000 (09:42 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 5 May 2014 11:14:48 +0000 (13:14 +0200)
commitc97294ec1b9e36887e119589d456557d72ab37b5
treed1d93b6d051070f8ae313cc6ce70d4e539465adf
parent2e6e8d7a25a6e31dee58226ea7fc374844d69732
SMBIOS: Build aggregate smbios tables and entry point

Build an aggregate set of smbios tables and an entry point structure.

Insert tables and entry point into fw_cfg respectively under
"etc/smbios/smbios-tables" and "etc/smbios/smbios-anchor".

Machine types <= 2.0 will for now continue using field-by-field
overrides to SeaBIOS defaults, but for machine types 2.1 and up we
expect the BIOS to look for and use the aggregate tables generated
by this patch.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
[ kraxel: fix 32bit build ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/smbios.c
include/hw/i386/smbios.h