[SeaBIOS] [PATCH v3] config: allow DEBUG_IO for !QEMU

Laszlo Ersek lersek at redhat.com
Sun Jun 2 21:24:29 CEST 2013


On 06/01/13 05:35, Kevin O'Connor wrote:

> The plan on uefi was to use the smbios
> tables to detect qemu.  Once detection is in place, the DEBUG_IO
> support could be made dependent on QEMU_HARDWARE and only activated
> after detection succeeds.

Understood.

I wasn't aware this was pending on me (skimmed src/csm.c). I'll see what
I can do in OvmfPkg/SmbiosPlatformDxe. Doesn't seem particularly easy,
given that qemu may optionally pass smbios structures over fw_cfg (see
the -smbios option, in which case OVMF should not build, just install
them), plus there's a big number of mandatory smbios structures for
which almost a full system configuration must be collected, seemingly. I
hope edk2 will at least provide the data types.

Thanks
Laszlo



More information about the SeaBIOS mailing list