PCI-Passthrough of a Nvidia Card when using Nvidia On Host

Hello,

i just wanted to ask if i can pass through a Nvidia Card to a VM if i have a Nvidia card running as my Host card with the Nvidia drivers (not nouveau). On my current AMD card i have to blacklist the amdgpu drivers. That will not be an option.

Thanks for the answers.

Are the two cards different models? if so https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Using_identical_guest_and_host_GPUs

if not just set up vfio to grab the device ID and you should be fine https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Using_vfio-pci

You shouldn’t need to blacklist the nvidia driver, I don’t and it works fine for me.

1 Like