[PLUG] Reusing Fedora KVM created guest

King Beowulf kingbeowulf at linuxgalaxy.org
Mon Dec 23 00:51:24 UTC 2024


On 12/22/24 12:56, Tomas Kuchta wrote:
> I am failing to move/relocate/run (off-line) KVM virtual machine created on
> Fedora 41 to/on openSuse host.
>
> The issue is this error:
> sudo virsh define --file vmName.xml
>
> error: operation failed: Unable to find 'efi' firmware that is compatible
> with the current configuration.
>
> I have tried:
>    * Point the .xml to openSuse ovmf files
>    * Get the OVMF files from F41
>    + Bunch of other random things I came across on interwebs
>    * Before someone suggests it - no I cannot rebuild the VM every time I
> update OS
>
> Any idea how to make the VM portable from distro to distro and or from one
> distro version to next?
>
> Thanks, Tomas

What are you using as the VM software? libvirt?  I use qemu directly 
without any silly front ends.  (Not entirely true since I have my own 
set of bash scripts GUI-fied via zenity.  No issues ever moving the 
image or upgrading the host. Now, I do not boot the guests OS via EFI.  
No real need to, IMHO.  Maybe this will help:

https://www.baeldung.com/linux/qemu-uefi-boot

-Ed




More information about the PLUG mailing list