mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
431db49359
commit
9282de479a
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||