Displaying 1 result from an estimated 1 matches for "state_updated".
2011 Mar 03
6
[PATCH] Make explicit message when guest failed to suspend
...#39;':
sst = self.readDom(''xend/shutdown_start_time'')
now = time.time()
if sst:
@@ -2990,14 +2990,23 @@ class XendDomainInfo:
try:
while self._stateGet() in (DOM_STATE_RUNNING,DOM_STATE_PAUSED):
self.state_updated.wait(1.0)
- if state == "suspend":
- if nr_tries == 0:
- msg = (''Timeout waiting for domain %s to suspend''
- % self.domid)
- self._writeDom(''control/shutdo...