I'd like to use my OBS virtual camera in a virtual machine.
OBS will not run within a virtual machine unless I perform a GPU-passthrough, which I feel is unnecessary and undesirable in this situation.
Instead, I run OBS on the host and enable the virtual camera.
I am a novice when it comes to Linux and hardware, so I was hoping to see that it would appear on the list of USB-Redirectable devices provided by the QEMU GUI. It did not.
I understand that QEMU is quite flexible when it comes to editing XML files - I used v4l2-ctl to detect my video devices. The OBS virtual camera is set to /dev/video2.
What XML can I add to my QEMU virtual machine to accomplish a passthrough of this device?
If it can be done, are there any commands I will have to run on the host in respect of power-cycling the VM which is "grabbing" the output? I'd like to continue using the Virtual Camera on my host when the guest is not in use.