Return the restored VM at the end of XendDomainInfo.restore.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-11-01 18:39:33 +00:00
1 parent 8082f8f784
commit c82aef9e98
1 file changed
+1
+1
View File
@@ -249,6 +249,7 @@ def restore(config):
vm = XendDomainInfo(XendConfig(sxp = config), resume = True)
try:
vm.resume()
return vm
except:
vm.destroy()
raise
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.