diff -r 1afd9142eed3 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Wed Aug 19 12:52:38 2009 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Fri Aug 28 16:46:24 2009 +0200 @@ -2400,10 +2402,13 @@ class XendDomainInfo: # may get here if due to ACM the operation is not permitted if security.on() == xsconstants.XS_POLICY_ACM: raise VmError('Domain in conflict set with running domain?') - - if self.domid < 0: - raise VmError('Creating domain failed: name=%s' % - self.info['name_label']) + log.exception(e) + + if not self.domid or self.domid < 0: + str = 'Creating domain failed: name=%s' % self.info['name_label'] + if self.domid: + str += ', error=%i' % int(self.domid) + raise VmError(str) self.dompath = GetDomainPath(self.domid)