From: Alastair Tse Date: Fri, 3 Nov 2006 11:42:57 +0000 (+0000) Subject: [XEND] Don't hide the 'type' SXP config item from HVM guests X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d29624ec0ed281f46534927a4343409e9dcd463;p=xen.git [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 --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 1237f6b891..32d9f906ac 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -844,8 +844,7 @@ class XendConfig(dict): "configuration dictionary.") sxpr.append(dev_type) - config = [(opt, val) for opt, val in dev_info.items() \ - if opt != 'type'] + config = [(opt, val) for opt, val in dev_info.items()] sxpr += config return sxpr