ia64/xen-unstable

changeset 7950:64e43d615167

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>
author emellor@leeni.uk.xensource.com
date Mon Nov 21 13:14:38 2005 +0100 (2005-11-21)
parents 8fb11d28df0f
children a0b0da36fda3
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Nov 21 13:13:57 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Mon Nov 21 13:14:38 2005 +0100
     1.3 @@ -1272,7 +1272,7 @@ class XendDomainInfo:
     1.4          dev_type = sxp.name(dev_config)
     1.5          devid = self.createDevice(dev_type, dev_config)
     1.6          self.waitForDevice(dev_type, devid)
     1.7 -#        self.config.append(['device', dev.getConfig()])
     1.8 +        self.info['device'].append((dev_type, dev_config))
     1.9          return self.getDeviceController(dev_type).sxpr(devid)
    1.10  
    1.11