Intel Realsense d435i + qemu virtual machine

It works. Just remember about forwarding with a proper xhci host.

This is a quick note, because once I was working with a Intel Realsense sensor on a virtual machine through Google Hangouts, so it is worth noting how this can be done.

Framerate will not be astounding, but the device itself is pretty easy to setup, just add these line to your qemu-system-x68_64:

-device nec-usb-xhci,id=xhci \
-device usb-host,bus=xhci.0,vendorid=0x8086,productid=0x0b3a

Tested with the realsense-viewer, it’s not great, but is enough for prototyping before deploying an application.

May or may not influence your experience:
I have on my host system the udev/rules.d file for Realsense, but NO kernel modules.
I run this particular VM as root.