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:
Ewan Mellor committed 2006-11-14 18:52:58 +00:00
1 parent 051c099e2e
commit cbe35a1196
1 file changed
+1 -1
+1 -1
View File
@@ -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
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.