I’m not entirely sure whether this belongs into the “Windows” or “Linux” category.
I followed wendell’s guide on how to setup gpu passthrough (
I’m using Ubuntu 18.04 and I’m passing a HD7950 through to a VM.
The problem is that the Windows 10 guest blue screens as soon as I boot from the .iso (1803) file to install Windows.
First the machine is about 2 minutes in the “TianoCore” screen (the VM has 4GB of ram if that matters). After that it starts loading the iso and the Windows boot animation starts. About 2 seconds later it blue screen’s with the error “IRQL NOT LESS OR EQUAL”.
The libvirt log from the vm:
“virsh edit win10”:
I had it working before but I don’t know what changed.
Any help is appreciated
Windows 10 1803 has had some issues in KVM, especially on amd cpus.
This thread might help-
Okay, so when trying to launch a Windows 10 guest in KVM after updating to 1803 it just BSOD with the lines “System Thread exception not handled”. This happens when launching through KVM when Windows 10 1803 was installed on a drive, when upgrading Windows 10 1703 to 1803 and when plug in a live media to clean install(in a passed through usb controller).
The windows guest ran fine with 1703. Anyone know anything?
I am aware of the problems with the 600p drives.
The xml file of the VM
xmlVM.txt (4.5 KB)
The conf file of QEMU
xml.txt (28.4 KB)
Manjaro 17.1 XFCE as host
Linux kernel 4.14.39-1
32 GB RAM Corsair Dominator Platinum 3000MHz
Gigabyte Aorus Gaming K7
Passthrough: Nvidia 1070
Host: Nvidia 970
Guest installed on a sata ssd Kingston Savage 480 GB or run from a live media usb
Host is installed on a nvme ssd Samsung 960 EVO 480 GB
As said by @magicthighs not using host-passthrough solves the BSOD, configurations that does not cause BSOD includes, but are not limited to, kvm64, qemu64 and core2duo. So I’m going with using qemu64 at the moment.
It’s main suggestions are not to use host-passthrough on the CPU and to use options kvm ignore_msrs=1 in modprobe.d
Thank you for your answer and for the summary on what to do. It’s working now. I’m using 1709 now, set CPU to “Hypervisor-Standard” and set “options kvm ignore_msrs=1”.
Do you possibly know why the machine is so long on the “TianoCore” screen? Is it testing the memory or something?
It think it does, and the host needs to allocate the memory. I have noticed some excessive boot times on my VMs, and am unsure of why.
This reddit thread suggests static huge pages, the downside of those is the memory is tie up.