qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: nix.wie.weg@gmx.de
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Large USB patch
Date: Sun, 23 Apr 2006 18:11:52 +0200	[thread overview]
Message-ID: <444BA748.3030302@gmx.de> (raw)
In-Reply-To: <444B970A.3090706@bellard.org>

Hello Fabrice,

I can understand, that you are not so happy with such an huge patch. But
sorry it can't be done with just patching the state machine. The main
problem is, that the cvs source needs the usbhub. But this hub is not
operational at its current state. So in fact whenever we try to find a
usb problem, we have to look in at least 4 completly different USB
components (uhci controller, usb state machine, usb hub, usb device). It
is a great help to reduce these components by one. Now if you go so far,
you have to touch all these 15 files and then it makes no sence not to
implement a better, and more flexible api. I have done this work and I
was successful, as in the last days we (Lonnie Mendez and I) have found
a lot of bugs. Some bugs were surely introduced by the new api, but we
have also fixed bugs which were simply not detected earlier because the
USB system was never bevor working so good. Today I have even detected
why my usb scanner was not recognised. I will add the patch later on.

So for the foregoing reasons, I will clearly reject to produce a patch
which will only cover the state machine. I have worked very hard on that
patch and some times you have to take what you get :)

But as I said before I can understand, that it is a problem to add such
a huge patch. So I want to submit the following offer: I and maybe also
Lonnie Mendez (hey Lonnie this is a request for some more of your
wonderful help :) ) will test the patch one week longer and get it a
little more stable. On saturday I will make another comprehensive patch
and you will please add it to cvs. Is that an offer?

Thanks for your time and your work so far,
Tino H. Seifert

PS: Your feature request is noted and I will look into it after we have
successfully dealt with the issues above. At the moment I'm not sure if
it is possible at all.

Fabrice Bellard wrote:
> Hi,
>
> Could you make a small patch containing just the bug fixes of the
> state machine ?
>
> Concerning your API changes, I am relunctant to include them now, but
> my mind can evolve. An API change that I would consider as very useful
> could be to be able to make asynchronous USB I/Os to avoid blocking
> QEMU while doing host USB I/Os.
>
> Regards,
>
> Fabrice.
>
>
>

  reply	other threads:[~2006-04-23 16:12 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-20 19:59 [Qemu-devel] Large USB patch nix.wie.weg
2006-04-21  2:23 ` Lonnie Mendez
2006-04-21  5:59   ` nix.wie.weg
2006-04-21  7:04     ` Lonnie Mendez
2006-04-21 14:53 ` Lonnie Mendez
2006-04-21 15:00   ` Lonnie Mendez
2006-04-21 15:50   ` Lonnie Mendez
2006-04-21 16:19     ` Lonnie Mendez
2006-04-21 16:29       ` nix.wie.weg
2006-04-21 17:28         ` Lonnie Mendez
2006-04-21 18:06           ` Lonnie Mendez
2006-04-21 18:38             ` Lonnie Mendez
2006-04-21 20:50               ` Lonnie Mendez
2006-04-22  9:33                 ` nix.wie.weg
2006-04-22 14:36                   ` Lonnie Mendez
2006-04-22 15:36                     ` nix.wie.weg
2006-04-22 15:38                       ` nix.wie.weg
2006-04-22 16:00                     ` nix.wie.weg
2006-04-22 16:19                       ` Lonnie Mendez
2006-04-22 16:35                         ` nix.wie.weg
2006-04-23  3:38                           ` Lonnie Mendez
2006-04-23 21:54                             ` nix.wie.weg
2006-04-29  1:03                             ` Lonnie Mendez
2006-04-29  3:29                               ` Lonnie Mendez
2006-04-30  0:46                                 ` Lonnie Mendez
2006-04-30 20:56                                   ` Lonnie Mendez
2006-04-21 16:26     ` nix.wie.weg
2006-04-22 14:15 ` nix.wie.weg
2006-04-23 15:02 ` Fabrice Bellard
2006-04-23 16:11   ` nix.wie.weg [this message]
2006-04-24 23:50 ` [Qemu-devel] Update for cvs 2006-04-24 nix.wie.weg

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=444BA748.3030302@gmx.de \
    --to=nix.wie.weg@gmx.de \
    --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 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).