Today I'm doing few tests on my 4820K+X79 platform.
The Host is already upgraded to Fedora 23, which QEMU was upgraded to v2.4.1, and the kernel was 4.2.7-fc23
Then, same as previous, using GTX980 as guest VM card. And guest was Windows 7.
Here is my results.
1. Q35 / x-vga=on / without graphic >>> Got monitor but Code 10
2. Q35 / non x-vga=on / with graphic >>> Blank monitor + Code 10
3. Q35 / x-vga=on / with graphic >>> Same as 2
For Q35, try upgrading to rawhide components (qemu 2.5.0 + libvirt 1.3). I could not get my OVMF+Q35 setup to work with the stock Fedora 23 versions (was getting the same Code 10 error from the NVIDIA drivers; I have a GTX 970). FWIW, I don’t seem to need the "x-vga=on" parameter with OVMF+Q35 (I did need it with an earlier setup, using the same hardware, where I was using SeaBIOS+i440fx instead).
Anyway, for the Code 10 error, I suspect it might be the following commit from Alex that fixed it for me:
You can keep your stock Fedora 23 install and upgrade just the qemu packages using these commands:
sudo dnf install fedora-repos-rawhide
sudo dnf install —enablerepo rawhide libvirt
There are also kernel bugs related to MTRR in 4.2.7. If you want to give your Windows VM more than 2.5GB of RAM, you may need the patches from here:
Well, either that, or downgrade to the 4.1 kernel. I'm actually using the latest from git (4.4.0-rc6) with the 2 patches from bug 107561 above. Guest is Windows 10 with the latest NVIDIA driver package (361.43). I haven’t tried both passthrough + graphic at the same time as you are, I’m using the passthrough video only.
4. i440fx / x-vga=on / with graphic >>> Both monitor and VNC got blank
5. i440fx / non x-vga=on / with graphic >>> BSOD 0x3B
6. i440fx / x-vga=on / without graphic >>> Works
But if using AMD V4800 as guest card then using method 5, it works.
So this may proved that Alex talked about before, it's impossible to make graphic and pass-through GPU exist together.
Only AMD, and NVIDIA card that Quadro K2200 and higher can be as secondary GPU (As I know, it's possible to make VNC (Spice) and monitor worked at the same time on Windows 10, just different resolution).
I'll try to get K2200 if I got enough budget.
vfio-users mailing listvfio-users redhat com