|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix-up reference to name_label.
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID dde9e37c0671cde4dd3508e434bb4322a200d85b
# Parent 2e9eb9980c41ac7f0412466daecbb084cbdc6e84
Fix-up reference to name_label.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xend/XendDomain.py | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
diff -r 2e9eb9980c41 -r dde9e37c0671 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Thu Nov 30 17:28:51 2006 +0000
+++ b/tools/python/xen/xend/XendDomain.py Thu Nov 30 18:05:19 2006 +0000
@@ -184,15 +184,13 @@ class XendDomain:
if not dom_uuid:
continue
- dom_name = dom.get('name', 'Domain-%s' % dom_uuid)
+ dom_name = dom.get('name_label', 'Domain-%s' % dom_uuid)
try:
running_dom = self.domain_lookup_nr(dom_name)
if not running_dom:
# instantiate domain if not started.
new_dom = XendDomainInfo.createDormant(dom)
self._managed_domain_register(new_dom)
- else:
- self._managed_domain_register(running_dom)
except Exception:
log.exception("Failed to create reference to managed "
"domain: %s" % dom_name)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix-up reference to name_label.,
Xen patchbot-unstable <=
|
|
|
|
|