ia64/xen-unstable

changeset 14778:7cfe2a22462c

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>
author kfraser@localhost.localdomain
date Tue Apr 10 10:28:11 2007 +0100 (2007-04-10)
parents 400a3dca237e
children 4d4a7ba24c01 e51e99c5b10e
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Apr 09 12:05:26 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Apr 10 10:28:11 2007 +0100
     1.3 @@ -430,6 +430,7 @@ class XendDomainInfo:
     1.4                  self._endRestore()
     1.5              except:
     1.6                  log.exception('VM resume failed')
     1.7 +                self.destroy()
     1.8                  raise
     1.9          else:
    1.10              raise XendError('VM already running')