Received: from eggs.gnu.org ([208.118.235.92]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz39L-0001zK-1x for qemu-devel@nongnu.org; Wed, 08 Aug 2012 06:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sz39G-0001F6-OW for qemu-devel@nongnu.org; Wed, 08 Aug 2012 06:05:58 -0400 Received: from indium.canonical.com ([91.189.90.7]:54291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sz39G-0001F1-HJ for qemu-devel@nongnu.org; Wed, 08 Aug 2012 06:05:54 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Sz39F-00025I-MX for ; Wed, 08 Aug 2012 10:05:53 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id A16002E8009 for ; Wed, 8 Aug 2012 10:05:53 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Aug 2012 09:55:46 -0000 From: Michael Tokarev <1033727@bugs.launchpad.net> Sender: bounces@canonical.com References: <20120807012056.11172.7440.malonedeb@gac.canonical.com> Message-Id: <20120808095547.4140.45436.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Reply-To: Bug 1033727 <1033727@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Ok. I tried to bisect this, but it appears to be not so easy. The problem is that between 1.0 and 1.1, there's a lot of usb breakage, and bisection leads to segfaults or assertion failures. (qemu) usb_add host:003.002 usb_create: no bus specified, using "usb.0" for "usb-host" (qemu) Segmentation fault This is fixed in 8db36e9dddb1b6fab3554a8c00d92268b33a487b. (qemu) usb_add host:003.002 (qemu) qemu-system-x86_64: /build/kvm/git/hw/usb.c:358: usb_packet_complete= : Assertion `p->state =3D=3D USB_PACKET_QUEUED' failed. I skipped this commit, which lead to: (qemu) usb_add host:003.002 (qemu) qemu-system-x86_64: /build/kvm/git/hw/usb.c:410: usb_packet_complete= : Assertion `((&ep->queue)->tqh_first) =3D=3D p' failed. I'm continuing, but I've no much hope this will lead to anything useful at = this rate. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1033727 Title: USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Status in QEMU: New Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Debian: Unknown Bug description: Hi, I have a "Bus 006 Device 002: ID 0d46:3003 Kobil Systems GmbH mIDentity L= ight / KAAN SIM III" (kind of smart card) in an USB port which I make avail= able to a Windows XP guest. This worked fine with every older qemu-kvm version I've used so far. But since 1.1.0 it doesn't work anymore. The device shows up in the guest, but the software can't access it anymor= e (and the guest is pretty unresponsive). On the host I get every 2 seconds this message: [ 7719.239528] usb 6-1: reset full-speed USB device number 2 using uhci_h= cd Command line options are: /usr/bin/kvm ... -device usb-host,vendorid=3D0x0d46,productid=3D0x3003,bus=3Dusb.0,port=3D3 ... When I switch back to qemu-kvm 1.0.1 everything works fine again. Any idea what the problem could be? Thanks Klaus To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1033727/+subscriptions