I have a Debian stretch installation version 9.5, my router is a vm on that machine that has one usb device (wireless) configured as passthough.
the kernel version was 4.15.11-1~bpo9+1 (installed due to usb3 issues), the relevant vm config is as follows:
Code: Select all
<hostdev mode='subsystem' type='usb' managed='yes'>
<source>
<vendor id='0x148f'/>
<product id='0x5572'/>
</source>
<address type='usb' bus='0' port='1'/>
</hostdev>
this system uses another usb dongle (dvb) which resulted in usb -110 errors. I've searched for the reason and found out that in kernel 4.9 some memory apis were changed and such errors are results of memory corruption which will be fixed in later versions.
I've decided to upgrade the kernel to 4.18.6-1~bpo9+1 which I did. since then, the vm won't boot with the usb passthough set, the error I'm getting is this:
Code: Select all
error: Failed to start domain router
error: internal error: qemu unexpectedly closed the monitor: 2018-11-02T13:43:32.174730Z qemu-system-x86_64: -device usb-host,hostbus=1,hostaddr=4,id=hostdev4,bus=usb.0,port=1: failed to find host usb device 1:4
Code: Select all
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=dvb_usb_cxusb, 480M
|__ Port 6: Dev 4, If 0, Class=Vendor Specific Class, Driver=rt2800usb, 480M
|__ Port 8: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
any ideas how I can fix this?
thanks,
Dagg.