mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
[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>
This commit is contained in:
1 parent
e5a17f0ebf
commit
0d29624ec0
1 file changed
+1
-2
@@ -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
|
||||
|
||||