aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-11 13:40:44 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-09-11 13:40:44 +0100
commit4a6a1afb1cd360b0b1c482d86aa25fd284e22b28 (patch)
tree9da64b17b20639a57ef6f17522619322778a6d46 /tools
parente58cf9dbf9637ec11acf7de9c2fd39c776c2b394 (diff)
downloadxen-4a6a1afb1cd360b0b1c482d86aa25fd284e22b28.tar.gz
xen-4a6a1afb1cd360b0b1c482d86aa25fd284e22b28.tar.bz2
xen-4a6a1afb1cd360b0b1c482d86aa25fd284e22b28.zip
Add 'type vnc' to vfb device sexpr for HVM guest
This patch adds 'type vnc' to vfb device sexpr for HVM guests. PV guests already contain this entry in sexpr, e.g. (device (vfb (vncunused 1) ... (type vnc) ... ) ) Some tools, such as libvirt, look for device/vfb/type in sexpr before publishing VNC port. More importantly, this patch provides consistency in vfb device sexpr between HVM and PV guests. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py
index 6db58f52d9..7ec493a059 100644
--- a/tools/python/xen/xend/XendConfig.py
+++ b/tools/python/xen/xend/XendConfig.py
@@ -752,6 +752,7 @@ class XendConfig(dict):
if not has_rfb:
dev_config = ['vfb']
+ dev_config.append(['type', 'vnc'])
# copy VNC related params from platform config to vfb dev conf
for key in ['vncpasswd', 'vncunused', 'vncdisplay',
'vnclisten']: