From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39880 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PHLlr-0006XK-Cj for qemu-devel@nongnu.org; Sat, 13 Nov 2010 14:28:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PHLlf-0005Re-K6 for qemu-devel@nongnu.org; Sat, 13 Nov 2010 14:28:14 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:54110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PHLlf-0005RB-5e for qemu-devel@nongnu.org; Sat, 13 Nov 2010 14:28:07 -0500 Message-ID: <4CDEE6C5.3010808@web.de> Date: Sat, 13 Nov 2010 20:28:05 +0100 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5A5E1F78721009DA4BF1478C" Sender: jan.kiszka@web.de Subject: [Qemu-devel] State of EHCI emulation for QEMU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Jes Sorensen , "David S. Ahern" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A5E1F78721009DA4BF1478C Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi all, as you may know, there is an experimental git repository at git://git.kiszka.org/qemu.git ehci that contains (primarily) David's work on an EHCI model for QEMU, infrequently merges with latest git by me. As both David and I are short on time ATM to drive this towards mainline integration, I'd like to motivate some more contributions. But first of all a summary of its state: - works OK for mass storage device pass-through - gives quite decent performance this way (I've once installed a complete Linux distro onto an USB disk this way) - reported to fail when passing through certain other host device types (e.g. the iPhone) - lacks integration with UHCI (currently, only EHCI is provided by that tree, breaking USB 1.1 devices) David furthermore provided the following to-dos: - lacks periodic frames support - lacks isochronous traffic support - lacks split transactions support - NAK/reload support is kludgy at best - throttle interrupt rate based on OS settings Regarding integration with UHCI: David once posted an RFC patch that basically establishes the foundation for fixed device-to-controller assignment [1][2]. Most real implementations do dynamic hand-over between EHCI and UHCI, however, the spec allows static assignment as well (which simplifies the implementation in QEMU). Would be really nice to see this upstream rather sooner than later. I think the major blocking point is just the companion controller integration, then we would already be able to use it with USB disks/stick= s. So, if anyone is interested in picking up some open task, every contribution is welcome! Jan [1] http://thread.gmane.org/gmane.comp.emulators.qemu/77130 [2] http://thread.gmane.org/gmane.comp.emulators.qemu/76072 --------------enig5A5E1F78721009DA4BF1478C 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/ iEYEARECAAYFAkze5sUACgkQitSsb3rl5xTOmgCg7HH017WzQqU6T/7fGGNeEFya tY4AoNdYKCDWuAp3N2VCckhiEOFNFehk =Vgb6 -----END PGP SIGNATURE----- --------------enig5A5E1F78721009DA4BF1478C--