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@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-21 13:14:38 +01:00
1 parent 431db49359
commit 9282de479a
1 file changed
+1 -1
+1 -1
View File
@@ -1272,7 +1272,7 @@ class XendDomainInfo:
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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.