Bug 1855364

Summary: [RFE] Support for TPM in memory snapshots
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: Milan Zamazal <mzamazal>
Component: libvirtAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: coli, jsuchane, qcheng, virt-maint
Target Milestone: rc   
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-10 09:05:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Zamazal 2020-07-09 16:36:40 UTC
Emulated TPM devices, including TPM data storage, are handled with the external help of swtpm. When a memory snapshot is created, TPM state and data must be stored as well, to ensure consistency when a VM containing an emulated TPM device is restored from the snapshot. To my knowledge, libvirt currently doesn't handle TPM when making a memory snapshot and it doesn't provide a mechanism to copy swtpm data manually while ensuring their consistency with the snapshot.

In order to be able to use memory snapshots in VMs with emulated TPM devices without risking errors, mismatches or data loss, libvirt support for TPM data in memory snapshots is needed.

Comment 1 Jaroslav Suchanek 2020-07-10 09:05:17 UTC

*** This bug has been marked as a duplicate of bug 1855367 ***