Hi Tyler,
Just to clarify, my end goal is to see if there is an opportunity
to extend what I have been working on to cover more interesting
use cases.
On Fri, Mar 12, 2021 at 06:17:30AM -0800, 'Tyler Brandon' via kubevirt-dev wrote:
> Hi Victor,
>
> Thank you for the suggestion. It appears usbredir supports
> individual device redirection.
Not really, it depends on how many usb devices configured for usb
redirection you have in your VM. In the proposal, I've limited to
4 but if we consider host passthrough, this can be increased too.
> In our use case there will be multiple devices and the USB
> device vendor and product IDs are not known ahead of time.
Not knowing vendor-product is fine. We can add a redirection on
hotplug, for instance.
> We can control what USB port(s) on the host machine devices are
> plugged into.
If using the host's port is a must, I wonder if someone could
bring some light in a possible design. I'd be happy to work on
it.
(1) I know that QEMU can already be configured to do that itself. Not
sure that adding this kind of configuration is interesting to
KubeVirt or even possible considering limitations in Pod's
permissions. I'll check.
(2) It can also be possible to e.g: launch usbredirect in the node,
configured to listen to a specific usb port and redirect what is
connected there to the VMI. I'm not sure where such configuration
should be placed and if this is better (design wise) than (1).
Cheers,
Victor
> --
> You received this message because you are subscribed to the Google Groups "kubevirt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
kubevirt-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/kubevirt-dev/f4fc7eb4-4041-4978-be44-d1fb7ac6e509n%40googlegroups.com.