Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2041754

Summary: Mark SEV launch secret area as reserved
Product: Red Hat Enterprise Linux 8 Reporter: Gerd Hoffmann <kraxel>
Component: edk2Assignee: Paweł Poławski <ppolawsk>
Status: CLOSED ERRATA QA Contact: zixchen
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: berrange, coli, jferlan, jinzhao, jmaloy, juzhang, jwboyer, kkiwi, kraxel, pbonzini, ppolawsk, virt-maint, xuwei, ymankad
Target Milestone: rcKeywords: RFE, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: edk2-20220126gitbb1bba3d77-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2112307 (view as bug list) Environment:
Last Closed: 2022-05-10 14:26:36 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: 2018386, 2041755    
Bug Blocks: 2112307    

Description Gerd Hoffmann 2022-01-18 08:36:41 UTC
backport needed:

commit 079a58276b98dc97ca363e3bc8b35cc7baa56d76
Author: Dov Murik <dovmurik.com>
Date:   Tue Jan 4 15:16:40 2022 +0800

    OvmfPkg/AmdSev/SecretPei: Mark SEV launch secret area as reserved
    
    Mark the SEV launch secret MEMFD area as reserved, which will allow the
    guest OS to use it during the lifetime of the OS, without creating
    copies of the sensitive content.

Comment 1 Klaus Heinrich Kiwi 2022-01-19 13:31:16 UTC
Same as RHEL-9 bz

Comment 2 Paweł Poławski 2022-01-20 03:11:26 UTC
Should this backport be performed on top of latest rebase? This way I can close this BZ as a part of rebase.

Comment 10 zixchen 2022-03-04 09:02:56 UTC
Test with edk2-ovmf-20220126gitbb1bba3d77-2.el8.noarch.rpm, no issue found.

Version:
edk2-ovmf-20220126gitbb1bba3d77-2.el8.noarch.rpm
kernel-4.18.0-369.el8.x86_64
qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64

SEV regression test passed:
https://beaker.engineering.redhat.com/jobs/6364468

Comment 11 Yanan Fu 2022-03-04 11:09:59 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 16 errata-xmlrpc 2022-05-10 14:26:36 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 (edk2 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-2022:1948