Displaying 1 result from an estimated 1 matches for "_writedom".
2011 Mar 03
6
[PATCH] Make explicit message when guest failed to suspend
...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)
- state = self.readDom(''control/shutdown'')
- nr_tries -= 1
+
+ state = self.readDom(''control/shutdown'')...