This patch fixes an error in the xm create path when the

xc.domain_create call fails (eg, when ACM policy prevents creation of a
domain).  When xc.domain_create fails, dompath never gets set.

Signed-off-by: Tom Lendacky <toml@us.ibm.com>
This commit is contained in:
emellor@ewan committed 2005-10-10 19:06:14 +01:00
1 parent bcdb352075
commit d0c7f9b2ad
1 file changed
+2 -1
+2 -1
View File
@@ -1087,7 +1087,8 @@ class XendDomainInfo:
log.debug("XendDomainInfo.destroy: domid=%s", self.domid)
self.cleanupVm()
self.destroyDomain()
if self.dompath is not None:
self.destroyDomain()
def destroyDomain(self):
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.