On 21 Nov 2019, at 16:31, Don Dupuis <dondster@gmail.com> wrote:

Anyone else have this problem? I haven't been able to find a solution.

Don

On Tue, Nov 19, 2019 at 10:03 AM Don Dupuis <dondster@gmail.com> wrote:
with that approach, still get same error.

Don

On Mon, Nov 18, 2019 at 10:49 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
I would recommend you to "unpresent" that USB, then replug (if that's possible) the USB and then to refresh the hosts's Capabilities (management dropdown). Only then try to assign the USB.

Best Regards,
Strahil Nikolov

В вторник, 19 ноември 2019 г., 05:30:00 ч. Гринуич+2, Don Dupuis <dondster@gmail.com> написа:


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.

This is the error I get in vdsmd.log:

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)

Looks like a code bug. Would you please open it? On vdsm, oVirt team “virt”

Thanks,
michal



I am using kernel 3.10.0-957.12.1.el7.x86_64

vdsm is vdsm-4.30.33-1.el7.x86_64
libvirt is libvirt-5.0.0-1.el7.x86_64
qemu is qemu-img-ev-2.12.0-33.1.el7.x86_64

Any help with this issue would be appreciated.

Thanks
Don
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3JWP5GNYJWH7HDLBDRU3UGGHUENINW4I/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BFES4PVZJ5LTNWPNOWZTZOB2DGUPDKCN/