John Looney uploaded patch set #4 to this change.
Patch an SSDT onto the end of the ACPI tables built for qemu-i440fx, and thus qemu-q35 also.
This will allow qemu to setup cbmem, and allow VPD variables to be accessible from operating systems booted by qemu.
This has been tested by booting a qemu-q35 instance from a coreboot image with a VPD partition defined in the fmap. On booting, /sys/firmware/vpd/ro existed as it does on real hardware.
A subsequent commit will contain default fmaps for qemu images, which will include small VPD partitions.
Signed-off-by: John Looney <john.looney@gmail.com>
Change-Id: I4678b9adc8044a691c818527e2c16205f9b259e2
---
M src/arch/x86/acpi.c
M src/mainboard/emulation/qemu-i440fx/fw_cfg.c
M src/mainboard/emulation/qemu-q35/Kconfig
A src/mainboard/emulation/qemu-q35/board.fmd
4 files changed, 36 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/32087/4
To view, visit change 32087. To unsubscribe, or for help writing mail filters, visit settings.