# HG changeset patch # User root@xensrm.na.uis.unisys.com # Date 1171645977 18000 # Node ID e9ab0c0372d9f5e045846d6248f92c9a8139cc24 # Parent 9af0c7e4ff513c02f9bd1548f21612e9cf59b022 destroy() is being called on exception in both start() and create(). It needs to be done only in create() Signed-off-by: Aravindh Puthiyaparambil diff -r 9af0c7e4ff51 -r e9ab0c0372d9 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Wed Feb 14 19:01:35 2007 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Feb 16 12:12:57 2007 -0500 @@ -403,7 +403,6 @@ class XendDomainInfo: xendomains.managed_config_save(self) except: log.exception('VM start failed') - self.destroy() raise else: raise XendError('VM already running')