|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Use vnc-listen setting specified in
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237375966 0
# Node ID f8201aea88a43ccf52ed6b201e5a31fc97468e35
# Parent 9fc957e63f8dc0fdb2400eb424da4c1122b7ac65
xend: Use vnc-listen setting specified in xend config file
If domU frame buffer configuration has no vnclisten attribute set, use
the global vnc-listen address specified in xend configuration file
when updating vfb location. Currently the hardcoded value 'localhost'
is used.
Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 9fc957e63f8d -r f8201aea88a4 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Tue Mar 17 15:40:25 2009 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Mar 18 11:32:46 2009 +0000
@@ -1410,7 +1410,8 @@ class XendDomainInfo:
for dev_uuid, (dev_type, dev_info) in self.info['devices'].items():
if dev_type == 'vfb':
old_location = dev_info.get('location')
- listen_host = dev_info.get('vnclisten', 'localhost')
+ listen_host = dev_info.get('vnclisten', \
+ XendOptions.instance().get_vnclisten_address())
new_location = '%s:%s' % (listen_host, str(vnc_port))
if old_location == new_location:
break
_______________________________________________
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] xend: Use vnc-listen setting specified in xend config file,
Xen patchbot-unstable <=
|
|
|
|
|