[PLUG] Reusing Fedora KVM created guest

Tomas Kuchta tomas.kuchta.lists at gmail.com
Mon Dec 23 03:18:22 UTC 2024


On Sun, Dec 22, 2024, 19:51 King Beowulf <kingbeowulf at linuxgalaxy.org>
wrote:

> 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
> .

Thanks Ed,

I am using libvirt. Unfortunately, win11 guest needs UEFI + TPM v2.0

I am not sure what the compatibility issue could be, perhaps different UEFI
firmware doesn't match some signature stored in the disk image.

Tomas

>


More information about the PLUG mailing list