]> xenbits.xensource.com Git - xen.git/commit
hvm: add ACPI power button for HVM
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 2 Apr 2009 11:40:09 +0000 (12:40 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 2 Apr 2009 11:40:09 +0000 (12:40 +0100)
commitab438874b6a8ae955b337c36e7b3204e29b8d407
treeb977e8cf97cc40500f079af718751f226d3724af
parent48fe42ec0b1cd6fe1fb26c27fb307e8bc5240fe0
hvm: add ACPI power button for HVM

This patch adds the ACPI fixed hardware power button for HVM.
It enables a graceful shutdown of a guest OS by direction of Dom0.
(if a proper action for the power button is set inside the guest)

usage:
  xm trigger <Domain> power

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/firmware/hvmloader/acpi/static_tables.c
tools/python/xen/xend/XendConstants.py
tools/python/xen/xm/main.py
xen/arch/x86/domctl.c
xen/arch/x86/hvm/pmtimer.c
xen/include/public/domctl.h