* [PATCH] Use vnc-listen setting specified in xend config file
@ 2009-03-11 18:43 Jim Fehlig
0 siblings, 0 replies; only message in thread
From: Jim Fehlig @ 2009-03-11 18:43 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
Use the vnc-listen address specified in xend configuration file when
updating vfb location setting. Currently the hardcoded value
'localhost' is used.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
[-- Attachment #2: xend-vnclisten.patch --]
[-- Type: text/x-patch, Size: 831 bytes --]
diff -r a4274d1e85a3 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Mar 11 13:11:21 2009 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Mar 11 12:34:37 2009 -0600
@@ -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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-11 18:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11 18:43 [PATCH] Use vnc-listen setting specified in xend config file Jim Fehlig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.