I have Fedora 28 passing my GPU through to my Windows 10 VM fine - via QEMU/KVM.
I’m now trying to have GPU passthrough work on a Linux guest VM. I’m currently trying Ubuntu, but any distro is fine. The purpose is for cryptomining - to use my GTX 1070 for mining; but integegrated graphics for just regular daily use within Fedora at the same time.
What I’ve tried:
I vaguely remember there being issues discussed in one of Level1’s videos. Something regarding the boot process regarding drivers, but I can’t seem to find any guides or the video pointing me the right direction…
I’ve gotten as far as running Linux VMs in Spice and installing the Nvidia drivers. When I switch over from Spice/QXL to PCI/VMVGA, I can only get as far as a black or purple (Ubuntu) screen.
I’ve tried these Windows10 virsh xml tags, in various combinations, on the Linux guest as well:
<hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='1234567890ab'/> </hyperv> <kvm> <hidden state='on'/> </kvm>
^ These haven’t helped.
I’ve seen a few vague posts regarding VNC and SSH into the VM to do driver installs?
Seems to me that drivers might be claimed by noveau and failing? Video fails after boot screen.
OS: Fedora 28 TwentyEight
Kernel: x86_64 Linux 4.16.5-300.fc28.x86_64
CPU: Intel Core i7-4790K
iGPU: Mesa DRI Intel® Haswell Desktop
dGPU: EVGA GTX 1070 FTW (confirmed passthrough with Windows10 VM)
Guidance for Fedora Nvidia passthrough to Linux guest in QEMU/KVM.
Thank you for any help. First post.