ia64/xen-unstable

changeset 15874:d146097e049d

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>
author kfraser@localhost.localdomain
date Tue Sep 11 13:40:44 2007 +0100 (2007-09-11)
parents 7dfc9a7a0d4e
children 4cd10e49c3f8
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Tue Sep 11 12:30:39 2007 +0100
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Tue Sep 11 13:40:44 2007 +0100
     1.3 @@ -752,6 +752,7 @@ class XendConfig(dict):
     1.4  
     1.5              if not has_rfb:
     1.6                  dev_config = ['vfb']
     1.7 +                dev_config.append(['type', 'vnc'])
     1.8                  # copy VNC related params from platform config to vfb dev conf
     1.9                  for key in ['vncpasswd', 'vncunused', 'vncdisplay',
    1.10                              'vnclisten']: