I am trying to pass through a USB Dongle to a Windows virtual machine in ovirt 4.3.6. This will work if these options aren't used. Below is the output of lsusb with no iommu enable:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 1604:10c0 Tascam
Bus 001 Device 004: ID 1604:10c0 Tascam
Bus 001 Device 003: ID 1604:10c0 Tascam
Bus 001 Device 002: ID 07f2:0001 Microcomputer Applications, Inc. KEYLOK II
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The device I am passing through is Bus 001 Device 002.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 867, in _startUnderlyingVm
self._run()
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2890, in _run
self._domDependentInit()
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2466, in _domDependentInit
self._vmDependentInit()
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2480, in _vmDependentInit
self._getUnderlyingVmDevicesInfo()
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2448, in _getUnderlyingVmDevicesInfo
vmdevices.common.update_device_info(self, self._devices)
File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/common.py", line 94, in update_device_info
hostdevice.HostDevice.update_device_info(vm, devices[hwclass.HOSTDEV])
File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/hostdevice.py", line 426, in update_device_info
vm, device_conf, device_xml)
File "/usr/lib/python2.7/site-packages/vdsm/virt/vmdevices/hostdevice.py", line 223, in update_from_xml
if host_address == dev.hostAddress:
AttributeError: 'MdevDevice' object has no attribute 'hostAddress'
2019-11-18 18:20:06,173-0600 INFO (vm/9944089c) [virt.vm] (vmId='9944089c-2109-4352-a0c6-7d0d9e04bb3f') Changed state to Down: 'MdevDevice' object has no attribute 'hostAddress' (code=1) (vm:1690)