[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix xm block-configure, by allowing the device ID to be unspecified inside



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID f026d4091322be717f66ce87e7c0dc372968a8f2
# Parent  394da2dfb70d1c3b4e00e079dbc6e29805502ad5
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@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 394da2dfb70d -r f026d4091322 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Nov 14 18:21:51 2006 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Nov 14 18:52:58 2006 +0000
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.