OndrejHome / fast-vm

'fast-vm' is a script for defining VMs from images provided in thin LVM pool.
GNU General Public License v3.0
22 stars 14 forks source link

RHEL 8 UEFI support with pre-q35 machines #48

Closed OndrejHome closed 4 years ago

OndrejHome commented 5 years ago

Issue: RHEL 8 contains package edk2-ovmf that is automatically pulled in with dependencies when installing libvirt and provides "some" UEFI firmware. This firmware however seems to only run with Q35 machine type which is not the one that get used when defining VM from fast-vm libvirt template. This firmware is usable when used with Q35 machine that requires 'no IDE' and 'PCIe' root port. So here we would either need new templates for Q35 machines so this runs with what is installed on RHEL8 or providing separate location for firmware in libvirt xml file. In both cases a separate XML would be needed. For now the dirty (and working) way is to replace one symlink that RHEL 8 uses so we can use procedure that worked well on RHEL 7.

OndrejHome commented 4 years ago

for now I'm usinbg "dirty symlink" solution that is documented in fast-vm-1.6 user guide chapter about EUFI - https://www.famera.cz/blog/fast-vm/user_guide.html#ovmf_uefi_support If the need for Q35 templates arises I may re-open this. But for now, this is not an issue. It is an "documented workaround".