qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] State of EHCI emulation for QEMU
@ 2010-11-13 19:28 Jan Kiszka
  2010-12-04  0:18 ` Gerd Hoffmann
  0 siblings, 1 reply; 14+ messages in thread
From: Jan Kiszka @ 2010-11-13 19:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jes Sorensen, David S. Ahern

[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]

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/sticks.

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-12-11 10:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-13 19:28 [Qemu-devel] State of EHCI emulation for QEMU Jan Kiszka
2010-12-04  0:18 ` Gerd Hoffmann
2010-12-04  9:05   ` Jan Kiszka
2010-12-04 20:21     ` David S. Ahern
2010-12-08  8:26       ` Gerd Hoffmann
2010-12-08  8:32         ` Jan Kiszka
2010-12-08 15:49           ` David S. Ahern
2010-12-08 17:14             ` Gerd Hoffmann
2010-12-08 17:41               ` David Ahern (daahern)
2010-12-09 13:05                 ` Gerd Hoffmann
2010-12-09 20:32                   ` David S. Ahern
2010-12-11 10:42                     ` Blue Swirl
2010-12-08  8:18     ` Gerd Hoffmann
2010-12-08  8:24       ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).