Dear Red Hat, If this should go somewhere else, please tell me the address of the where. Host: Fedora 31, x64 qemu-kvm-4.1.0-5.fc31.x86_64 # rpm -qa virtio-win virtio-win-0.1.171-1.noarch, from https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo And the virtio-win-0.1.173.2.iso from https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/ USB Controller (USB3): <controller type="usb" index="0" model="qemu-xhci" ports="15"> <alias name="usb"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/> </controller> VM: Windows 7 Pro, SP1, x64 In my VM's device manager, it has a bang mark on Universal Serial Bus (USB) Controller. virtio-win-gt-x64.msi was installed. And Windows can not find the appropriate driver in: virtio-win-0.1.173.2.iso or the Windows driver search the web tool. And the Windows 7 VM can not find a USB device I redirect to it. I don't have the problem with my Windows Ten – 1909, x64 VM. Please fix. Many thanks, -T
For windows 7 you might need to change your XML to use model='nec-xhci' vs your current model='qemu-xhci'. It's not related to the virtio-win iso/msi at all though
Hi Cole, Made no difference. Rats! Thank you anyway. Here is the ID from Windows 7: PCI\VEN_1033&DEV_0194&SUBSYS_11001AF4&REV_03 In Windows 10, this driver is called: Standard USB 3.0 eXtensible Host Controller - 1.0 (Microsoft) Generic USB xHCI Host Controller -T
Actually now that I look at Gerd's blog post, he specifically mentions windows 7 doesn't have out of the box usb3 support. So I don't think this is expected to work: https://www.kraxel.org/blog/2018/08/qemu-usb-tips/
(In reply to Cole Robinson from comment #3) > Actually now that I look at Gerd's blog post, he specifically mentions > windows 7 doesn't have out of the box usb3 support. So I don't think this is > expected to work: > > https://www.kraxel.org/blog/2018/08/qemu-usb-tips/ From the blog "nec-usb-xhci" throws and error. And although the usb2 option does not throw an error, flash drives show up in Windows 7 when plugged into a usb port on, but the devices themselves throw an error. This includes USB redirection. The only way to see a flash drive with the usb2 controller is to mount them as a device "USB Host Device". If you would suffer me opening this up again, would yo please check with upstream from a USB3 driver for Windows 7 or a fix for USB 2? Many thanks, -T
The author of that blogpost is the upstream qemu usb maintainer and primary author, so I take his word as authoritative. Maybe there's some way to get windows 7 working with usb3 but it's not supposed to work out of the box. I found discussions by googling 'qemu usb3 windows 7' but I didn't dig into them. The nec-usb-xhci value he mentioned is for the qemu command line. For libvirt it's called nec-xhci, which is what you tried in the first step. Not sure about the usb redirect vs 'usb host device' issue, I would expect there to not be any difference in behavior.
(In reply to Cole Robinson from comment #5) > The author of that blogpost is the upstream qemu usb maintainer and primary > author, so I take his word as authoritative. Maybe there's some way to get > windows 7 working with usb3 but it's not supposed to work out of the box. I > found discussions by googling 'qemu usb3 windows 7' but I didn't dig into > them. > > The nec-usb-xhci value he mentioned is for the qemu command line. For > libvirt it's called nec-xhci, which is what you tried in the first step. > > Not sure about the usb redirect vs 'usb host device' issue, I would expect > there to not be any difference in behavior. Hi Cole, That being the case, I would have to concur with you. On the USB2 issue, I do not think it will get an traction as USB2 is depreciated. I will post back to this bug if I ever manager to locate the Windows 7 driver for nec-xhci -T
(In reply to Todd from comment #6) > I will post back to this bug if I ever manager to locate the Windows 7 > driver for nec-xhci Found it: https://www.dell.com/support/home/us/en/04/drivers/driversdetails?driverid=36x7d But it still won't give back the system when you eject and "usb Device Selection" it out of the VM. I will open a new bug report on that.
(In reply to Todd from comment #7) > I will open a new bug report on that. nec-hxci steels my flash drive in Windows 7 : https://bugzilla.redhat.com/show_bug.cgi?id=1773819