From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5204] husb: Make control transactions asynchronous (Max Krasnyansky)
Date: Sun, 14 Sep 2008 11:32:38 +0300 [thread overview]
Message-ID: <f43fc5580809140132k697d8f4s5691d3635dd29e4e@mail.gmail.com> (raw)
In-Reply-To: <f43fc5580809140007s37d4c63ds7e6c941800563e23@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]
On 9/14/08, Blue Swirl <blauwirbel@gmail.com> wrote:
> On 9/14/08, Anthony Liguori <anthony@codemonkey.ws> wrote:
> > Revision: 5204
> > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5204
> > Author: aliguori
> > Date: 2008-09-14 01:06:09 +0000 (Sun, 14 Sep 2008)
> >
> > Log Message:
> > -----------
> > husb: Make control transactions asynchronous (Max Krasnyansky)
> >
> > USB is 99.8% async now :). 0.2% is the three control requests that
> > we need to execute synchronously. We could off-load that to a thread
> > or something but it's not worth the pain since those requests are
> > performed only during device initialization (ie when device is
> > connected to the VM).
> >
> > The change is a bit bigger than I wanted due to the fact that generic
> > handle_packet()/handle_control() interface was not designed for
> > async transactions. So I ended up adding custom handle_packet()
> > code to usb-linux. We can make that generic if/when some other
> > component needs it.
>
>
> > +#include <linux/usb/ch9.h>
>
>
> My Debian machines do not have this header file. Is it only used for
> the structure definition that was removed by the commit?
This patch removes the include and adds the structures needed as well
as one missing "static".
[-- Attachment #2: fix_usb.diff --]
[-- Type: plain/text, Size: 1244 bytes --]
next prev parent reply other threads:[~2008-09-14 8:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-14 1:06 [Qemu-devel] [5204] husb: Make control transactions asynchronous (Max Krasnyansky) Anthony Liguori
2008-09-14 7:07 ` Blue Swirl
2008-09-14 8:32 ` Blue Swirl [this message]
2008-09-15 2:53 ` Anthony Liguori
2008-09-15 12:36 ` Martin Mohring
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=f43fc5580809140132k697d8f4s5691d3635dd29e4e@mail.gmail.com \
--to=blauwirbel@gmail.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 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).