[SOLVED] RHEL + VFIO: Not able to install VM to disk

Hi guys.

So had a perfectly functioning system on Fedora 34, however i have dreamt of having my VM on a RHEL platform so i dont have to re-deploy everything once a year when fedora goes EOL

So i went through the hoops of compiling QEMU manually (since the RHEL repository one no longer supports IVSHMEM devices for looking glass)

Spent several hours getting everything working.
However im stuck with a weird issue:

When trying to install windows on my VM windows tells me that:
"Windows cannot be installed to this disk. This computers hardware may not support booting to this disk. yadada"

Using windows 10 as my guest, and a samsung NVME 980Pro, which worked perfectly fine on Fedora 34.
My guess that its related to QEMU some how.

Im using the newest QEMU available from GIT, compiled using this guide:
https://en.wikibooks.org/wiki/QEMU/Installing_QEMU
And the libvirt from the RHEL repository

my current VFIO xml looks like this:

Also the configure from QEMU looked like this at the time of compile:

Can anybody hint me where im going wrong? - i went a bit off the reservation compiling QEMU from source, but im getting no errors in logfiles or similar…

EDIT: Selinux is disabled, and ive tried different ISOs of win10…

May want to see if you can use UEFI w/Q35, you may be trying to partition your disks using GTP while using MBR type bios etc.


Should show up in the UI like:
image

I wasn’t seeing that in your XML.

1 Like

Nicely spotted.
Installing as we speak.

10/10 Thanks!