Fork me on GitHub

oVirt-Host

Install package vdsm-hook-hostusb.

oVirt-controller

engine-config -s "UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"

Select version of engine. Restart ovirt-engine.

VM settings

Add custom key 'usbhost', in field define VendorID and ProductID like 0xHHHH:0xHHHH.

Bus 002 Device 004: ID 1a2c:0c21 China Resource

This output look like this 0x1a2c:0x0c21.