Skip to contentSkip to conversation

ACPI fixed event or General Purpose Event to HVMguest.

DISCUSSION Bill Rieske 1 participant 1 message Jul 17, 2008

lore
Share & tools
lore
#0 lore raw

resend. didn't see it show up on the list. Sorry if duplicate.

Quoted 11 lines
Quoted 5 lines

Has there been any work done on getting an ACPI fixed event or perhaps a general
purpose event delivered to an HVM guest. Whereby, the HVM guests OSPM could consume the event and act accordingly.

Now Xen support live migration with VT- d assigned device, which
is based on a virtual ACPI hotplug mechanism, where one specific GPE bit is created within Qemu. You can check piix4acpi.c in Qemu for reference.

I will look a little closer at this file. Thanks

Quoted 7 lines
Quoted 6 lines

Or Perhaps better stated how would one go about passing an ACPI fixed event or general purpose event that was raised and consumed by dom0 and subsequently pass the event on to each of the HVM domu's.

Quoted 8 lines

But if you're talking about passing through a physical ACPI event to HVM, it seems a bit tricky since not all ACPI events are waterfalled to user space, and even when some does, it doesn't
make sense to simply forward already- consumed event to HVM,
as Qemu ACPI table is different from physical one.

So, what's your main purpose here?

It would be nice to simulate the action of a power button or perhaps even the sleep button from a tool set on dom0 and push that up into the HVM to cause it to power down/sleep/wake as it does on bare metal.