qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] New function: Remot USB support in qemu
@ 2017-04-27  6:30 yuan.zhong
  2017-04-27  7:07 ` Gerd Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: yuan.zhong @ 2017-04-27  6:30 UTC (permalink / raw)
  To: kraxel, afaerber, pbonzini; +Cc: qemu-devel

Mr. Hoffmann,






Thank you for your time.






This email will describe a new module that I'd like to commit to the qemu code source.


We call it as remote usb, and this is features:


1. real usb device is aside on a windows client.


2. keeping a connection between the client and the VMs host OS


3. qemu simulate a remote usb device through our remote usb module


4. the communication between real usb device and the simulation remote usb is based on USB/IP protocol.






We'd like to submit the source code of remote usb module to the qemu opensource. 


How do you think of this module, and could you give us some advice please ?






Sincerely,


Yuanzhong

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] New function: Remot USB support in qemu
  2017-04-27  6:30 [Qemu-devel] New function: Remot USB support in qemu yuan.zhong
@ 2017-04-27  7:07 ` Gerd Hoffmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2017-04-27  7:07 UTC (permalink / raw)
  To: yuan.zhong; +Cc: afaerber, pbonzini, qemu-devel, Hans de Goede

On Do, 2017-04-27 at 14:30 +0800, yuan.zhong@zte.com.cn wrote:
> Mr. Hoffmann,
> 
> 
> Thank you for your time.
> 
> 
> This email will describe a new module that I'd like to commit to the
> qemu code source.
> 
> We call it as remote usb, and this is features:
> 
> 1. real usb device is aside on a windows client.
> 
> 2. keeping a connection between the client and the VMs host OS
> 
> 3. qemu simulate a remote usb device through our remote usb module
> 
> 4. the communication between real usb device and the simulation remote
> usb is based on USB/IP protocol.

qemu supports that already.  It's called usb redirection.
https://www.spice-space.org/page/UsbRedir
https://github.com/SPICE/usbredir

usb redirection can use either plain tcp or a spice channel as
transport.  The spice client supports usb devices on windows clients.

Hans (Cc'ed, usbredir author) looked at the USB/IP protocol and found a
number of deficits and decided to not use it because of that.  I don't
remember the details though.

So I think using the existing usb redirection support is the better
option for you.

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-27  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27  6:30 [Qemu-devel] New function: Remot USB support in qemu yuan.zhong
2017-04-27  7:07 ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).