commit | 3e2b8fbeec8f005672f2a2e862fb9c26a0bafedc | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@xensource.com> | Tue Jul 17 18:37:07 2007 -0700 |
committer | Jeremy Fitzhardinge <jeremy@goop.org> | Wed Jul 18 08:47:45 2007 -0700 |
tree | 47bd623e5d692daf3b91316a3a715ff7356bc22b | |
parent | fefa629abebe328cf6d07f99fe5796dbfc3e4981 [diff] |
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>