14 lines
693 B
Diff
14 lines
693 B
Diff
diff -ru a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
|
|
--- a/tools/python/xen/xend/XendDomainInfo.py 2007-09-12 17:54:01.000000000 -0600
|
|
+++ b/tools/python/xen/xend/XendDomainInfo.py 2007-09-12 17:55:43.000000000 -0600
|
|
@@ -2162,7 +2162,7 @@
|
|
raise VmError('Invalid VM Name')
|
|
|
|
dom = XendDomain.instance().domain_lookup_nr(name)
|
|
- if dom and dom.domid != self.domid:
|
|
+ if dom and dom.domid and dom.domid != self.domid:
|
|
raise VmError("VM name '%s' already exists%s" %
|
|
(name,
|
|
dom.domid is not None and
|
|
Only in b/tools/python/xen/xend: XendDomainInfo.py~
|