bitkeeper revision 1.1549 (429459dd8Wdn9xpYhxSGQBJEie8pXA)

XendDomainInfo.py, XendDomain.py:
  Disable shutdown timeout for suspend.
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-25 10:56:29 +00:00
1 parent 5164002e4d
commit 72dd10c44d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -402,7 +402,7 @@ class XendDomain:
if reason == 'halt':
reason = 'poweroff'
val = dominfo.shutdown(reason, key=key)
if reason != 'sysrq':
if not reason in ['suspend', 'sysrq']:
self.domain_shutdowns()
return val
+1 -1
View File
@@ -1136,7 +1136,7 @@ class XendDomainInfo:
if self.channel:
msg = messages.packMsg(msgtype, extra)
self.channel.writeRequest(msg)
if reason != 'sysrq':
if not reason in ['suspend', 'sysrq']:
self.shutdown_pending = {'start':time.time(), 'reason':reason,
'key':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.