direct-io.hg

changeset 12407:f026d4091322

Fix xm block-configure, by allowing the device ID to be unspecified inside
device_configure (in which case it will be specified by the incoming config).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Nov 14 18:52:58 2006 +0000 (2006-11-14)
parents 394da2dfb70d
children 4d47322a7729 f78e499dd669
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Nov 14 18:21:51 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Nov 14 18:52:58 2006 +0000
     1.3 @@ -520,7 +520,7 @@ class XendDomainInfo:
     1.4          self._waitForDevice(dev_type, devid)
     1.5          return self.getDeviceController(dev_type).sxpr(devid)
     1.6  
     1.7 -    def device_configure(self, dev_config, devid):
     1.8 +    def device_configure(self, dev_config, devid = None):
     1.9          """Configure an existing device.
    1.10          
    1.11          @param dev_config: device configuration