xen: handle external requests for shutdown, reboot and sysrq
authorJeremy Fitzhardinge <jeremy@xensource.com>
Wed, 18 Jul 2007 01:37:07 +0000 (18:37 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Wed, 18 Jul 2007 15:47:45 +0000 (08:47 -0700)
commit3e2b8fbeec8f005672f2a2e862fb9c26a0bafedc
tree47bd623e5d692daf3b91316a3a715ff7356bc22b
parentfefa629abebe328cf6d07f99fe5796dbfc3e4981
xen: handle external requests for shutdown, reboot and sysrq

The guest domain can be asked to shutdown or reboot itself, or have a
sysrq key injected, via xenbus.  This patch adds a watcher for those
events, and does the appropriate action.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
arch/i386/xen/Makefile
arch/i386/xen/manage.c [new file with mode: 0644]