Bug 2092944

Summary: Rebase swtpm for RHEL 9.2
Product: Red Hat Enterprise Linux 9 Reporter: John Ferlan <jferlan>
Component: swtpmAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED ERRATA QA Contact: Yanqiu Zhang <yanqzhan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.2CC: lmen, mprivozn, xuzhang, yanqzhan, ymankad
Target Milestone: rcKeywords: Triaged
Target Release: 9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: swtpm-0.8.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:47:50 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:
Bug Depends On:    
Bug Blocks: 2087538, 2130192, 2152618    

Description John Ferlan 2022-06-02 15:06:28 UTC
Rebase swtpm from latest upstream release for RHEL 9.1

Comment 2 John Ferlan 2022-06-21 11:25:15 UTC
Moving the rebase to 9.2 as there are may only be a few patches that can be backported.

Comment 4 John Ferlan 2022-10-21 13:31:54 UTC
Adding dependency for libvirt bug 2130192 which adds support for migration across shared storage via https://listman.redhat.com/archives/libvir-list/2022-October/234970.html which according to Stefan "requires (upcoming) swtpm v0.8".  So let's shoot for that.

Comment 5 Michal Privoznik 2022-11-09 11:39:34 UTC
Libvirt patches just landed. I've asked Stefan to do swtpm release here: https://listman.redhat.com/archives/libvir-list/2022-November/235706.html

Comment 6 Marc-Andre Lureau 2022-11-22 07:01:29 UTC
Let's update swtpm (which doesn't require new libtpms)

Comment 15 Yanqiu Zhang 2023-01-17 08:34:21 UTC
Auto regression test passed:
https://libvirt-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/libvirt-RHEL-9.2-runtest-x86_64-function-tpm_emulator/28/testReport/
swtpm-0.8.0-1.el9.x86_64
libtpms-0.9.1-2.20211126git1ff6fe1f43.el9
libvirt-8.10.0-2.el9.x86_64
qemu-kvm-7.2.0-4.el9.x86_64
kernel-5.14.0-230.el9.x86_64

And the 3 blocked bugs are all pre-verified or verified pass with rebased swtpm.

Mark this bug as verified.

Comment 17 errata-xmlrpc 2023-05-09 07:47:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (swtpm bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2348