Launchpad has imported 4 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=816560.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-04-26T12:01:39+00:00 Ken wrote: +++ This bug was initially created as a clone of Bug #815755 +++ Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Take 2 RSA Tokens and connect them to a hypervisor 2. Use lsusb -v to find a uniquely identifyable property of each device 3. Either a) use virt-manager to attach the device with highest bus:device address to a guest OR b) write an XML description of the device specifying address bus= device= for the highest numbered RSA token # virsh attach-device <domain-id> <xml-file> 4) use virsh dumpxml <domain-id> and see which device is actually attached to the guest Actual results: The device with the lowest bus:device address and matching vendor:product id is attached to the guest Expected results: The device specified by the address bus= device= in the XML, or the device selected in the virt-manager GUI should be attached to the guest Additional info: In order to confirm the wrong device is attached, login to the guest and run lsusb -v and search for the uniquely identifyable property of the device. e.g. my RSA Token has bMaxPacketSize0 = 64, but for many of my colleagues it is 32. Reply at: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1082213/comments/0 ------------------------------------------------------------------------ On 2012-04-30T23:50:29+00:00 Ken wrote: Suggested fix ... $ diff src/qemu/qemu_hostdev.c src/qemu/qemu_hostdev-modified.c 597,599c597,613 < usbDevice *usb < = usbFindDevice(hostdev->source.subsys.u.usb.vendor, < hostdev->source.subsys.u.usb.product); --- > if (hostdev->source.subsys.u.usb.bus) { > usbDevice *usb > = usbGetDevice(hostdev->source.subsys.u.usb.bus, > hostdev->source.subsys.u.usb.device); > if ((hostdev->source.subsys.u.usb.vendor != usb->vendor) || > (hostdev->source.subsys.u.usb.product != usb->product)) { > qemuReportError(VIR_ERR_OPERATION_INVALID, > _("USB device %s does not match vendor > product id"), > usbDeviceGetName(tmp)); > usbFreeDevice(usb); > goto cleanup; > } > } else { > usbDevice *usb > = usbFindDevice(hostdev->source.subsys.u.usb.vendor, > hostdev->source.subsys.u.usb.product); > } Reply at: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1082213/comments/1 ------------------------------------------------------------------------ On 2012-05-08T04:54:24+00:00 Gunannan wrote: The patch has been pushed in upstream. So I set it to POST https://www.redhat.com/archives/libvir-list/2012-May/msg00289.html Reply at: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1082213/comments/2 ------------------------------------------------------------------------ On 2012-07-04T16:48:33+00:00 Cole wrote: Fixed in currentrelease Reply at: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1082213/comments/3 ** Changed in: libvirt (Fedora) Status: Unknown => Fix Released ** Changed in: libvirt (Fedora) Importance: Unknown => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1082213 Title: libvirt: When installing two or more identical usb devices in a VM, only one works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1082213/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs