From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47317 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNfDu-0001KU-NH for qemu-devel@nongnu.org; Wed, 01 Dec 2010 00:27:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNLz4-0006Vm-NW for qemu-devel@nongnu.org; Tue, 30 Nov 2010 03:54:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:8026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNLz4-0006Q0-Bt for qemu-devel@nongnu.org; Tue, 30 Nov 2010 03:54:46 -0500 Message-ID: <4CF4BBAF.2060609@redhat.com> Date: Tue, 30 Nov 2010 09:54:07 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Spice-devel] [Qemu-devel] RFC: usb redirection over the network, interesting outside of spice? References: <29465206.14.1291043417418.JavaMail.root@zimbra.grelot.net> <4CF3D63A.60903@redhat.com> <4CF3E797.7070401@codemonkey.ws> In-Reply-To: <4CF3E797.7070401@codemonkey.ws> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: spice-devel@lists.freedesktop.org, =?UTF-8?B?bG90?= , Attila Sukosd , =?UTF-8?B?RnLDqWTDqXJpYyBHcmU=?=@gnu.org, qemu-devel@nongnu.org On 11/29/10 18:49, Anthony Liguori wrote: > On 11/29/2010 11:37 AM, Attila Sukosd wrote: >> Hi, >> >> I guess it should be abstract enough to support multiple back-ends, be >> it a kernel driver or through libusb? > > Is this something that should just live in libusb? > > If what libusb presented QEMU was actually implemented as USB-over-IP, > QEMU wouldn't know the difference at all. I think it would also be very > useful to be able for libusb-based applications to work with remote devices. > > What is unclear to me is what role QEMU would play in setting up remove > USB-over-IP devices. Pushing it down to the libusb layer completely > takes QEMU out the picture which creates a clean separation layer. Well, I think the management is actually the most tricky thing here. Unfortunaly this isn't covered very well in the usb/ip papers. Also there seems to be no protocol specification linked from the website. Being compatible at protocol level makes sense for direct connections (if possible). For the usb-over-vnc and vnc-over-spice cases this probably isn't going to work though. cheers, Gerd