[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Don't hide the 'type' SXP config item from HVM guests



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID 665a28dffb7d78c07162c55176c442ae9e754caf
# Parent  5a291d87c33475850cea8895cc3dfa45f41bab40
[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@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r 5a291d87c334 -r 665a28dffb7d tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Fri Nov 03 11:29:16 2006 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Fri Nov 03 11:42:57 2006 +0000
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.