]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55390c51893123e7ff6a3fa65ceea464e73e0858
tree47bd623e5d692daf3b91316a3a715ff7356bc22b
parentfcdc33046c4f2d764eb0acadac7120f6ebb0731e
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]