bitkeeper revision 1.1451 (428b5f14gpuT4COa88QnSJNe11X63A)

XendDomain.py:
  Don't add domain to shutdown cleanup machinery when sending sysrq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-05-18 15:28:20 +00:00
1 parent 709a5e118c
commit cbe8a716f2
1 file changed
+2 -1
+2 -1
View File
@@ -469,7 +469,8 @@ class XendDomain:
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):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.