mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
709a5e118c
commit
cbe8a716f2
1 file changed
+2
-1
@@ -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):
|
||||
|
||||