kakrot.blogg.se

Hugepages qemu vga passthrough
Hugepages qemu vga passthrough











hugepages qemu vga passthrough hugepages qemu vga passthrough

drive file=/home/xanty/Descargas/windows7pro.iso,id=isocd,cache=none,if=none -device scsi-cd,drive=isocd \Īnd i finally got it to run, and when checking the pci info on the qemu monitor (pic here), everything looks fine, but the second monitor i have attached to my nvidia card's DVI-I port doesn't show anything. drive file=/home/xanty/windows1.img,id=disk,format=raw,cache=none,if=none -device scsi-hd,drive=disk \ bios /usr/share/seabios/bios.bin -vga none \ Sudo qemu-system-x86_64 -enable-kvm -M q35 -m 4096 -cpu host,kvm=off \

#HUGEPAGES QEMU VGA PASSTHROUGH DRIVERS#

I checked that this worked by removing the device(gpu), and verifying that the card was being claimed by vfio-pci instead of nvidia drivers when i rescanned.Īfter i had all the drivers set up, i started the VM with this script: #!/bin/bash I tried to blacklist the nvidia drivers and use pci-stub to "steal" the GPU from them, so i could avoid any possible errors, but it didn't work, so i manually unload the nvidia modules after the OS starts, using this script(in console mode): #!/bin/bash I installed the NVIDIA drivers, and i managed to bind the nvidia card to the vfio-pci controller without any problem, after disabling hybrid graphics in the nvidia settings. My pc uses an intel i7-4790 with an integrated intel HD 4600, which i use as my primary card, and an NVIDIA GTX 960 which is the one i want to pass throug. These last few days I've been trying to set up a windows virtual machine with VGA passthrough, using this guide as my main reference:













Hugepages qemu vga passthrough