[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] XendDomain.py:



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.