Re: [edk2] Xen OVMF early discussions

Subject: Re: [edk2] Xen OVMF early discussions

From: Bei Guan <>

To: Andrei Warkentin <>

Date: 2011-06-15 22:30:06

2011/6/15 Andrei Warkentin <>
Hi Bei,

On Tue, Jun 14, 2011 at 7:55 PM, Bei Guan <> wrote:

> Welcome back.

Thanks :-).

I think I just have published Xen hvmloader SMBIOS inside
> OVMF. The patch is as following.
> How to test:
> In the EFI shell, I can use the "smbiosview" command to browser all the
> SMBIOS structures that are created by Xen hvmloader.
> Is there any problem with the testing?

Very nice. A comment - in your SmbiosDxe, you re-detect Xen, but you
don't have to do that. The PlatformPei publishes a GUIDed HOB (see
Include/Guid/XenInfo.h), so checking for presence of that HOB should
be sufficient.

> Now, I am working on the ACPI table passthrough. But, I am not sure how to
> make a testing. It seems no command can be used to see the ACPI table in EFI
> shell.

Excellent. Good work. As Andrew suggested, dmem will show if the ACPI
table is at least registered. From that moment on you can either -
1) Boot something that uses ACPI. I believe Windows still don't boot
on OVMF, so Linux is your only choice.
An installation CD of linux can do this? I don't have an UEFI OS image and I also don't know how to make it from the installation CD. The method to make a legacy OS image doesn't seems to work for making anUEFI OS image.

2) Write an EFI application that pretty-prints the ACPI table
contents, at least roughly to the point of actual ACPI tables present,
their vendor names, sizes and checksums.

What about the hypercall driver/library? Did you start on that yet?
Not yet. I will start on that as soon as possible after I published the ACPI tables inside UEFI.

Bei Guan