Skip to contentSkip to conversation

destroy domain info if exception occurs during resume

PATCH New Stefan Berger 1 participant 1 message Apr 7, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 destroy domain info if exception occurs during resume

Destroy information about the domain in case an error occurs during resume of a domain.

xen-unstable.hg/tools/python/xen/xend/XendDomainInfo.py +1 -0
Index: root/xen-unstable.hg/tools/python/xen/xend/XendDomainInfo.py
===================================================================
@@ -430,6 +430,7 @@ class XendDomainInfo:
                 self._endRestore()
             except:
                 log.exception('VM resume failed')
+                self.destroy()
                 raise
         else:
             raise XendError('VM already running')

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel