[Spice-devel] [Qemu-devel] RFC: usb redirection over the network, interesting outside of spice?

Hans de Goede hdegoede at redhat.com
Tue Nov 30 04:23:07 PST 2010


Hi,

On 11/30/2010 12:32 PM, Alon Levy wrote:
> On Tue, Nov 30, 2010 at 12:26:56PM +0100, Hans de Goede wrote:

<snip snip>

>> Then there would be multiple ways to add a virtual usb device using usb-net-redir.c to
>> the virtual machine. One way of adding such a device could be starting a tcp/ip server
>> on a machine with an interesting usb device, say 192.168.1.100:2222 and then in
>> the monitor type:
>> usb_add net:192.168.1.100:2222:[vid]:[pid]
>> or:
>> usb_add net:192.168.1.100:2222:[busnr]:[addr]
>
> Wouldn't you want to add a usb_add net:host:port that would just export anything it has
> decided to export? or is this just the next step?
>

The idea is one channel (one socket in this case), one device. This way the same
server on the usb-host could export multiple devices, using one client connection
per device. The server of course should in the end have some sort of security wrt
which devices the vm-host can connect to and which not.

Regards,

Hans


More information about the Spice-devel mailing list