mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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:
1 parent
1bb4ad8e20
commit
1d37a61c52
1 file changed
+1
@@ -430,6 +430,7 @@ class XendDomainInfo:
|
||||
self._endRestore()
|
||||
except:
|
||||
log.exception('VM resume failed')
|
||||
self.destroy()
|
||||
raise
|
||||
else:
|
||||
raise XendError('VM already running')
|
||||
|
||||