On 19/06/17 09:42, Alain Knaff wrote:
> On 19/06/17 09:27, Michael Tokarev wrote:
>> 18.06.2017 22:32, Alain Knaff wrote:
> [...]
>>> kvm -usb -device usb-host,hostbus=1,hostport=1 \
>>>   -netdev user,id=net0 -device ne2k_pci,netdev=net0 \
>>>   -m 2G  -drive file=$HOME/tmp/hda.img -boot menu=on
>>
>> Please either use regular block device or high-speed usb
>> pass-thru (ehci or better xhci).
> 
> Thanks for this info, but can you please tell me how to do to use
> high-speed usb pass-thru?

Found it:

kvm -usb -device nec-usb-xhci,id=xhci \
 -device usb-host,bus=xhci.0,vendorid=0x13fe,productid=0x4100 \
 -netdev user,id=net0 -device ne2k_pci,netdev=net0 \
 -m 2G -drive file=$HOME/tmp/hda.img -boot menu=on

This does indeed "mostly" fix the problem (repeated resets), however 
there are still 3 resets happening on first access by the virtual 
machine.

Jun 19 12:54:47 alain-pc kernel: [14167.803353] usb 3-1: reset high-speed USB 
device number 5 using xhci_hcd
Jun 19 12:54:48 alain-pc kernel: [14168.719354] usb 3-1: reset high-speed USB 
device number 5 using xhci_hcd
Jun 19 12:54:49 alain-pc kernel: [14169.127355] usb 3-1: reset high-speed USB 
device number 5 using xhci_hcd


Thanks,

Alain

Reply via email to