[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: little fix for tap
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1259233009 0 # Node ID 285db3c26655d204c0d9a7b49eedb61d91baf2c4 # Parent c0e32941ee69cee97155f58b786c1dc265e54e55 xend: little fix for tap Need get dev type after create tap device as device_create did. Signed-off-by: Wei Kong <weikong.cn@xxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r c0e32941ee69 -r 285db3c26655 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Wed Nov 25 14:19:50 2009 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Nov 26 10:56:49 2009 +0000 @@ -3840,7 +3840,8 @@ class XendDomainInfo: try: devid = dev_control.createDevice(config) - dev_control.waitForDevice(devid) + dev_type = self.getBlockDeviceClass(devid) + self._waitForDevice(dev_type, devid) self.info.device_update(dev_uuid, cfg_xenapi = {'devid': devid}) except Exception, exn: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |