diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/XendDomainInfo.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 8198228b9f..4a36110aab 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -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: |