Displaying 1 result from an estimated 1 matches for "nr_tries".
Did you mean:
nentries
2011 Mar 03
6
[PATCH] Make explicit message when guest failed to suspend
...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/shutdown'', '''')
- raise XendError(msg)
-...