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

[Xen-changelog] Append the new device config to our internal structure, in device_create. This



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 64e43d615167c036b3c3a3baad12b93bf644bb42
# Parent  8fb11d28df0f7b33ae8c2f2c5869218df68b5f82
Append the new device config to our internal structure, in device_create.  This
will preserve the new device config across migration.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 8fb11d28df0f -r 64e43d615167 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Mon Nov 21 12:13:57 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Mon Nov 21 12:14:38 2005
@@ -1272,7 +1272,7 @@
         dev_type = sxp.name(dev_config)
         devid = self.createDevice(dev_type, dev_config)
         self.waitForDevice(dev_type, devid)
-#        self.config.append(['device', dev.getConfig()])
+        self.info['device'].append((dev_type, dev_config))
         return self.getDeviceController(dev_type).sxpr(devid)
 
 

_______________________________________________
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®.