How do you perform a live VM snapshot - and revert back to a specific state - from the CLI or VirtManager when using an UEFI virtual machine?
$ virsh snapshot-create-as --domain myvm --name “snap-30jul2018” --description “Snapshot” --live
error: Operation not supported: live snapshot creation is supported only with external checkpoints
The following command would work…
$ virsh snapshot-create-as --domain myvm --name “snap-30jul2018” --description “Snapshot” --disk-only
… but impossible to revert back to a previous state:
$ virsh snapshot-revert --domain myvm --snapshotname snap-30jul2018 --running
error: unsupported configuration: revert to external snapshot not supported yet
I’ve tried with Ubuntu 18.04 and Arch Linux both using latest versions of KVM/QEMU, same problem!!
Am I doing something wrong? Thanks
tkoham
2
This is currently a broken feature in virtman. No telling when it will be functional. You have to use outside tools if you want to snapshot.
we do, however, have a good tutorial on setting up a zfs vdev to do live snapshots over on our VFIO wiki