qemu-devel
[Top][All Lists]
Advanced

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

Re: Ethernet-over-usb with linux guest using USB Device Controller ?


From: Doug Evans
Subject: Re: Ethernet-over-usb with linux guest using USB Device Controller ?
Date: Mon, 3 May 2021 14:27:39 -0700

On Tue, Apr 27, 2021 at 12:31 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
  Hi,

> Questions: Is this support in QEMU and if so got any pointers to source for
> existing examples?
> If not, any guidance on how to proceed?

qemu has only usb host controller emulation, not any usb device
controller emulation.  So you are entering new territory and there are
no existing code exsamples, sorry.


Thanks. Any suggestions on how you would do it? Even just high level design points would be helpful.

As far as implementation goes:
1) Is there a "libusb" kinda thing for devices?
  [any sort of utility library that takes the device's point of view]
2) Would it make sense to use the usbredir protocol for speaking USB over sockets?
  [where in this case QEMU is the device and not the host]
3) Would it make sense to use the parts that one can from the usbredir library?
  [ibid]

  

reply via email to

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