xend: Destroy information about the domain in case an error occurs

during resume of a domain.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-04-10 10:28:11 +01:00
1 parent 1bb4ad8e20
commit 1d37a61c52
1 file changed
+1
+1
View File
@@ -430,6 +430,7 @@ class XendDomainInfo:
self._endRestore()
except:
log.exception('VM resume failed')
self.destroy()
raise
else:
raise XendError('VM already running')
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.