ACPI fixed event or General Purpose Event to HVM guest.
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.
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.
Thanks
Quoted 7 lines
From:Bill Rieske
Sent: 2008年7月17日 5:55Has 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.
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.
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?
Thanks,
Kevin
RE: ACPI fixed event or General Purpose Event to HVMguest.
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.cin 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.