qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [5204] husb: Make control transactions asynchronous (Ma


From: Blue Swirl
Subject: Re: [Qemu-devel] [5204] husb: Make control transactions asynchronous (Max Krasnyansky)
Date: Sun, 14 Sep 2008 10:07:45 +0300

On 9/14/08, Anthony Liguori <address@hidden> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]