ChangeSet 1.1451, 2005/05/18 16:28:20+01:00, cl349@xxxxxxxxxxxxxxxxxxxx
XendDomain.py:
Don't add domain to shutdown cleanup machinery when sending sysrq.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
XendDomain.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Nru a/tools/python/xen/xend/XendDomain.py
b/tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py 2005-05-18 12:06:34 -04:00
+++ b/tools/python/xen/xend/XendDomain.py 2005-05-18 12:06:34 -04:00
@@ -469,7 +469,8 @@
if reason == 'halt':
reason = 'poweroff'
val = dominfo.shutdown(reason, key=key)
- self.add_shutdown(dominfo, reason, key)
+ if reason != 'sysrq':
+ self.add_shutdown(dominfo, reason, key)
return val
def add_shutdown(self, dominfo, reason, key):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|