mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
051c099e2e
commit
cbe35a1196
1 file changed
+1
-1
@@ -520,7 +520,7 @@ class XendDomainInfo:
|
||||
self._waitForDevice(dev_type, devid)
|
||||
return self.getDeviceController(dev_type).sxpr(devid)
|
||||
|
||||
def device_configure(self, dev_config, devid):
|
||||
def device_configure(self, dev_config, devid = None):
|
||||
"""Configure an existing device.
|
||||
|
||||
@param dev_config: device configuration
|
||||
|
||||