|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
RE: [Xen-devel] ACPI fixed event or General Purpose Event to HVMguest.
 
>
>>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
>>
>>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?
> 
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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |