All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	"David S. Ahern" <daahern@cisco.com>
Subject: Re: [Qemu-devel] State of EHCI emulation for QEMU
Date: Sat, 04 Dec 2010 10:05:38 +0100	[thread overview]
Message-ID: <4CFA0462.8080407@web.de> (raw)
In-Reply-To: <4CF988EC.6010004@redhat.com>

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

Am 04.12.2010 01:18, Gerd Hoffmann wrote:
>   Hi,
> 
>> as you may know, there is an experimental git repository at
>>
>>     git://git.kiszka.org/qemu.git ehci
> 
> Looking into this right now as I'm busy with various usb issues anyway.
> Current state:
>   http://cgit.freedesktop.org/spice/qemu/log/?h=usb.1
> 
>>   - lacks integration with UHCI (currently, only EHCI is provided by
>>     that tree, breaking USB 1.1 devices)
> 
> Sort-of fixed (see docs/usb2.txt).

Very nice. Some remarks:

- command line must look like this:
        ...
        -drive if=none,id=usbstick,file=/path/to/image   \
        -device usb-storage,bus=ehci.0,drive=usbstick
  ie. register driver device referencing it, and there was a typo id->if

- long-term, "-usb" should become a shorthand for "-device
  usb-uhci,id=uhci -device usb-ehci,id=ehci" (at least for x86)

Unfortunately, msd is not yet magically healed:

  non queue head request in async schedule
  processing error - resetting ehci HC

> 
>> David furthermore provided the following to-dos:
>>   - lacks periodic frames support
>>   - lacks isochronous traffic support
> 
> --verbose please.  There seems to be some code for that?
> 
>>   - lacks split transactions support
> 
> That would need a USB 2.0 HUB emulation to be useful.
> We lack that one too ;)
> 
>>   - NAK/reload support is kludgy at best
> 
> --verbose please.
> 

Those are questions for David.

Jan

PS: Your tree lacks conversion of usb-musb.c.


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

  reply	other threads:[~2010-12-04  9:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CFA0462.8080407@web.de \
    --to=jan.kiszka@web.de \
    --cc=Jes.Sorensen@redhat.com \
    --cc=daahern@cisco.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.