
2016-06-16 6:39 GMT+02:00 Fernando Fuentes <ffuentes@darktcp.net>:
I am now getting this when I try to start it:
VM methub is down with error. Exit message: Hook Error.
To get the hostusb setup I did:
engine-config -s "UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$" ovirt-engine restart
and the host has the usb hooked installed. But when I go an add the custom property "hostusb" the vm wont start.
Again this is on oVirt 3.6 Centos 6.5 x86_64 and a host of Centos 7 x86_64
Any ideas?
TIA!
Hi Fernando, in 3.6 to pass an host USB device to a VM you don't need an hook as it is now standard in the system. But if you have vdsm from 3.6.6 it doesn't work because of a bug. It has already been corrected and if you update vdsm* to 3.6.7rc it will work. I had the same problem but now it's OK. Going to the administration portal after the upgrade you should see your USB device in the "Host devices" tab of the "Host"; if it isn't there clik "Refresh Capabilities" and it should come up. Then you go to "Virtual Machines", select your VM, then "Host devices" and "Add device" and you're almost there. I learned this thanks to something posted in this list and probably a bugzilla too but I'm unable to find it ATM. If you see references to IOMMU ignore them unless you need to expose a PCI device. HTH, Giorgio.