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]