-   Linux - Virtualization and Cloud (
-   -   USB redirection issues on WinXP guest, KVM host (created with virt-manager) (

gradinaruvasile 01-16-2013 01:26 PM

USB redirection issues on WinXP guest, KVM host (created with virt-manager)
Hello. I recently migrated from VirtualBox to KVM. I created the VMs with virt-manager.
All works well, except certain redirected USB host devices are not recognized in Windows XP guest. Others work.
Booting the same guest from a live Debian dvd image has no issues with the devices in question.
One problematic device is a webcam:

ID 1871:0101 Aveo Technology Corp.
This presents itself as "USB 2.0 Webcam".
Also, connecting USB flash disks usually dont work on Windows XP.

Another webcam works:

ID 0ac8:305b Z-Star Microelectronics Corp. ZC0305 Webcam
This seems to be a USB 1.1 webcam.

The UHCI and EHCI devices are visible on the guest. I even installed the Intel ICH9 drivers for both UHCI and EHCI, but nothing changed. The guest is fully patched.

After connecting the device, a message appears that a USB device is detected, then another saying that the device malfunctioned.
In the hardware tree appears as "Unknown device", the devices ID is not visible, SIV (System information viewer) says "Device failed enumeration".

Given that Linux guests dont have these issues, i assume this is something related to Windows XPs handling of the USB devices.
Maybe it has issues with devices that are USB 2.0.

Anyone had this issue?

Edit: It seems that this issue is Windows XP only as Win7 can access all USB devices so far.

gradinaruvasile 03-13-2013 03:56 AM

Ok. The issue solved itself it seems after i upgraded both libvirt and kvm to the latest versions found in the Debian Experimental repos (actually removed kvm and installed a newer qemu that replaces kvm).

Now i have:

qemu: 1.4.0+dfsg-1exp
libvirt0: 1.0.3-1

Mind you, these are Debian's versioning, in essence qemu is at 1.4 and libvirt is at 1.0.3.
Additionally there are additional packages (in Debian at least) such as python-libvirt, libvirt-bin, libnetcf1 that have to be upgraded too (these are the above packages dependencies so they will prompt for upgrade).

Lop3 12-07-2015 08:00 AM

I'm also unable to get a XP Guest to see USB devices.

virt manager 1.0.1
libvirt-bin 1.2.8-0ubuntu11.8
qemu-kvm 2.0.0+dfsg-2ubuntu1.21

All times are GMT -5. The time now is 12:37 PM.