Bug 1773152 - virtio-win is missing Widows 7 USB3 drivers
Summary: virtio-win is missing Widows 7 USB3 drivers
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 31
Hardware: x86_64
OS: Windows
unspecified
medium
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-16 02:05 UTC by Todd
Modified: 2019-11-19 02:43 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-19 02:06:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Todd 2019-11-16 02:05:21 UTC
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

Comment 1 Cole Robinson 2019-11-17 19:21:31 UTC
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

Comment 2 Todd 2019-11-17 23:59:05 UTC
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

Comment 3 Cole Robinson 2019-11-18 00:54:13 UTC
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/

Comment 4 Todd 2019-11-18 01:13:13 UTC
(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

Comment 5 Cole Robinson 2019-11-18 13:15:28 UTC
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.

Comment 6 Todd 2019-11-19 02:06:23 UTC
(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

Comment 7 Todd 2019-11-19 02:24:17 UTC
(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.

Comment 8 Todd 2019-11-19 02:43:16 UTC
(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


Note You need to log in before you can comment on or make changes to this bug.