From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56653 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQFKd-00074i-9s for qemu-devel@nongnu.org; Wed, 08 Dec 2010 03:25:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQFKc-0004fX-Am for qemu-devel@nongnu.org; Wed, 08 Dec 2010 03:24:59 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:52060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQFKb-0004f6-T8 for qemu-devel@nongnu.org; Wed, 08 Dec 2010 03:24:58 -0500 Message-ID: <4CFF40D2.9020605@web.de> Date: Wed, 08 Dec 2010 09:24:50 +0100 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] State of EHCI emulation for QEMU References: <4CDEE6C5.3010808@web.de> <4CF988EC.6010004@redhat.com> <4CFA0462.8080407@web.de> <4CFF3F48.800@redhat.com> In-Reply-To: <4CFF3F48.800@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4549DA65DE82952BE549ED47" Sender: jan.kiszka@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Jes Sorensen , qemu-devel , "David S. Ahern" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4549DA65DE82952BE549ED47 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 08.12.2010 09:18, Gerd Hoffmann wrote: > Hi, >=20 >> - command line must look like this: >> ... >> -drive if=3Dnone,id=3Dusbstick,file=3D/path/to/image \ >> -device usb-storage,bus=3Dehci.0,drive=3Dusbstick >> ie. register driver device referencing it, and there was a typo id-= >if >=20 > I'll fix. >=20 >> - long-term, "-usb" should become a shorthand for "-device >> usb-uhci,id=3Duhci -device usb-ehci,id=3Dehci" (at least for x86) >=20 > Hmm, I'd tend to leave '-M pc' as-is and enable ehci by default in the > upcoming q35 emulation, especially in case both make it into 0.15. I'm was concerned about the semantic of -usb. If ehci&uhci is going to be on by default in the future, we should obsolete and finally drop this switch. >=20 >> Unfortunately, msd is not yet magically healed: >> >> non queue head request in async schedule >> processing error - resetting ehci HC >=20 > Yea, I've seen a flaw in async handling. Just need to dig some more > into the code to fix it properly, also the packet workflow (including > async handling) is one of the spots where the qemu usb subsystem needs > some work ... >=20 >> PS: Your tree lacks conversion of usb-musb.c. >=20 > Huh? 'git diff kiszka/master kiszka/ehci hw/usb-musb.c' is empty. The breakage comes from one of your patches. Just try to build an ARM target. Jan --------------enig4549DA65DE82952BE549ED47 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkz/QNYACgkQitSsb3rl5xSXOQCffzt7MKapdiYaq5R5JWZiLBs3 7eIAn0v76aQ1mGB3dl4/+YV+YXhGKSQI =Ro6S -----END PGP SIGNATURE----- --------------enig4549DA65DE82952BE549ED47--