How do you make snapshots of ovmf VMs on libvirt?

Avoiding necrobumping this:

As soon as I choose a non-bios firmware (UEFI x86_64: /usr/share/edk2/ovmf/OVMF_CODE.fd or UEFI x86_64: /usr/share/edk2/ovmf/OVMF_CODE.secboot.fd instead of BIOS), I lose the ability to make snapshots.

Error creating snapshot: Operation not supported: internal snapshots of a VM with pflash based firmware are not supported

Due to this, I have refrained from creating any EFI-enabled VMs. Are there any workarounds or updates on I could make snapshots without external software, like zfs?

1 Like

Nice way to avoid necro-Ing! I use zfs snapshots for my VM’s, just be aware that it will only snapshot the filesystem. When you rollback, it will be as if the computers’ plug was pulled.
Handy before doing upgrades that might cause trouble.
Also note it does not affect/save the vm config file

1 Like

Yeah, what I’m looking for is saving everything, not just the image.

Nice use of interrobang in your name!

Yeah, good spot. It’s not used much

getting offtopic

Non-Linux people don’t have a Compose ⎄ key built in. ;)

I have Caps mapped to both shift keys (one could also use double clicking shift, compose+compose is the same as compose+backspace, compose+compose could work as caps as well), and a nice giant caps key to use as a compose.

I petition for this to be the standard.

1 Like

Sorry, for bumping this thread, But I wanted to create a snapshot of my Win11 VM.
I don’t have the leisure to disable OVMF did someone find a way to do it.
I know that proxmox can.