projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8082f8f
)
Return the restored VM at the end of XendDomainInfo.restore.
author
Ewan Mellor
<ewan@xensource.com>
Wed, 1 Nov 2006 18:39:33 +0000
(18:39 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 1 Nov 2006 18:39:33 +0000
(18:39 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 5d9a9a98be3a6005695483346546e5007b1589bb..93edfa7b0370c64521dacc0df60a8ae7b6322344 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-249,6
+249,7
@@
def restore(config):
vm = XendDomainInfo(XendConfig(sxp = config), resume = True)
try:
vm.resume()
+ return vm
except:
vm.destroy()
raise