debuggers.hg
diff tools/python/xen/xend/XendDomain.py @ 16675:9b37cabe0485
xend: Indicate a resume operation
Indicate that the domain is created as part of a resume operation
rather than a 'create'.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Indicate that the domain is created as part of a resume operation
rather than a 'create'.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Dec 19 14:45:04 2007 +0000 (2007-12-19) |
parents | 7b4e560d6caf |
children | 666573856c59 |
line diff
1.1 --- a/tools/python/xen/xend/XendDomain.py Wed Dec 19 11:14:05 2007 +0000 1.2 +++ b/tools/python/xen/xend/XendDomain.py Wed Dec 19 14:45:04 2007 +0000 1.3 @@ -913,6 +913,8 @@ class XendDomain: 1.4 if dominfo._stateGet() != XEN_API_VM_POWER_STATE_SUSPENDED: 1.5 raise XendError("Cannot resume domain that is not suspended.") 1.6 1.7 + dominfo.setResume(True) 1.8 + 1.9 dom_uuid = dominfo.get_uuid() 1.10 chkpath = self._managed_check_point_path(dom_uuid) 1.11 if not os.path.exists(chkpath):