PCI passthrough via KVM

Issues related to applications and software problems
Post Reply
mattdawolf
Posts: 3
Joined: 2017/01/14 07:38:32

PCI passthrough via KVM

Post by mattdawolf » 2019/06/02 01:01:59

I am running CentOS 7 having switched back from Ubuntu in a desire for stability.

I am trying to follow these guides to get a VM working where I can passthrough one of my nvidia GTX 1080s. My

posting.php?mode=post&f=48
http://ask.xmodulo.com/pci-passthrough- ... nager.html

I've set iommu_on for the kernel in grub, the module vfio is enabled in /etc/modules.

lspci output: https://pastebin.com/BMy4fa3v
dmesg output: https://pastebin.com/xmKZxbVE



Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices

I fail to understand what I've missed.

When I tried to do this via Ubuntu, the DMAR step failed miserably due to lack of read permission. I could never figure it out. DMAR seems happy on this OS.

Thanks.
Attachments
qemu-kvm_error.txt
specific error qemu/kvm is giving me
(836 Bytes) Downloaded 54 times

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: PCI passthrough via KVM

Post by aks » 2019/06/02 16:51:56

Didn't look/didn't read (that's the disclaimer):

Passthrough is complex and starts at the BIOS level, start there.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: PCI passthrough via KVM

Post by hunter86_bg » 2019/06/03 11:25:53

You have End-user GPU, thus the client driver will notice you are using KVM in passthrough mode and will not allow you.
You have 2 options -- rebuild the KVM in order to cheat the VM that it's running on real hardware , or switch to enterprise-grade Nvidia or an AMD-based GPU.

Post Reply