Emulated TPM devices and snapshots of running VMs

Milan Zamazal mzamazal at redhat.com
Fri Jul 3 19:30:51 UTC 2020


Hi,

I would like to clarify how to make snapshots of running VMs with
emulated TPM devices.  As far as I understand QEMU documentation, it's
possible to make snapshots of running VMs with TPM, but it's important
to retain the state of swtpm.  Does libvirt assist with that in any way
or is it completely user's responsibility?  libvirt pauses the VM
internally when making a snapshot, which should be the right moment to
copy the swtpm data, but the user doesn't have control over it.  Is
there a way to make a copy of swtpm data that is guaranteed to be
consistent with the snapshot?

Thank you,
Milan




More information about the libvirt-users mailing list