qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] husb: Make control transactions asynchronous (v


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH] husb: Make control transactions asynchronous (v2)
Date: Sat, 13 Sep 2008 20:09:34 -0500
User-agent: Thunderbird 2.0.0.16 (X11/20080723)

Max Krasnyansky wrote:
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.

Signed-off-by: Max Krasnyansky <address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori





reply via email to

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