qemu-devel
[Top][All Lists]
Advanced

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

Re: [Spice-devel] [Qemu-devel] RFC: usb redirection over the network, i


From: Hans de Goede
Subject: Re: [Spice-devel] [Qemu-devel] RFC: usb redirection over the network, interesting outside of spice?
Date: Tue, 30 Nov 2010 13:23:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b2 Thunderbird/3.1.6

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



reply via email to

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