direct-io.hg

changeset 12230:665a28dffb7d

[XEND] Don't hide the 'type' SXP config item from HVM guests

Should allow network devices to properly initialised in HVM guests.

Signed-off-by: Alastair Tse <atse@xensource.com>
author Alastair Tse <atse@xensource.com>
date Fri Nov 03 11:42:57 2006 +0000 (2006-11-03)
parents 5a291d87c334
children 044c6617e2be
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Fri Nov 03 11:29:16 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Fri Nov 03 11:42:57 2006 +0000
     1.3 @@ -844,8 +844,7 @@ class XendConfig(dict):
     1.4                                    "configuration dictionary.")
     1.5              
     1.6          sxpr.append(dev_type)
     1.7 -        config = [(opt, val) for opt, val in dev_info.items() \
     1.8 -                  if opt != 'type']
     1.9 +        config = [(opt, val) for opt, val in dev_info.items()]
    1.10          sxpr += config
    1.11  
    1.12          return sxpr