[SeaBIOS] [PATCH RFC 00/13] qemu: generate acpi tables for the guest

Michael S. Tsirkin mst at redhat.com
Tue May 14 13:58:38 CEST 2013


On Mon, May 13, 2013 at 03:38:51PM -0500, Anthony Liguori wrote:
> I don't think it's a good idea to move BIOS functionality in QEMU.

Just to clarify: generating ACPI tables is not BIOS
functionality. It ended up in seabios for historical
reasons.

A normal scenario for ACPI tables is that they are written
in ASL and compiled with IASL. The tables are then stored
in some ROM device - most of them, except FACP, can actually
be mapped directly from ROM if necessary.

You won't normally find real BIOS probing PCI slots for
hotplug support and writing EJ0 methods dynamically -
instead the assumption is that hardware (in this case QEMU)
supplies its own static description in form of ACPI tables.

My patchset uses FW_CFG as such a ROM device. It would be
easy to switch to something else instead of FW_CFG.
Is this what you are suggesting?

-- 
MST



More information about the SeaBIOS mailing list