mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
1 parent
85506dfc97
commit
bcf976db0e
1 file changed
+1
-1
@@ -615,7 +615,7 @@ class XendDomainInfo:
|
||||
if not reason in shutdown_reasons.values():
|
||||
raise XendError('invalid reason:' + reason)
|
||||
self.storeVm("control/shutdown", reason)
|
||||
if not reason in ['suspend']:
|
||||
if not reason == 'suspend':
|
||||
self.storeVm('xend/shutdown_start_time', time.time())
|
||||
|
||||
|
||||
|
||||