Done some more digging.

I can boot my macos vm using QXL instead of a passthrough GPU, even if i passthrough the USB device (not pci controller). So its definitely only passing through PCI devices like graphics cards that breaks things.

So this works in qemu terms:

    -usb -device usb-host,hostbus=1,hostaddr=3 \

This breaks things:

    -device vfio-pci,host=02:00.0,multifunction=on \
    -device vfio-pci,host=02:00.1

Oddly enough an Ubuntu 20.04 vm works fine with the gpu and usb passed through.

Added the qemu shell scripts to the gist:

https://gist.github.com/sej7278/766043a69c76308f84cfa14b3f3a924f

Regards.

--
Simon John

Reply via email to