On Wed, Oct 13, 2021 at 11:56:56AM -0500, Brijesh Singh wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275 > > Virtual Machine Privilege Level (VMPL) feature in the SEV-SNP > architecture allows a guest VM to divide its address space into four > levels. The level can be used to provide the hardware isolated > abstraction layers with a VM. The VMPL0 is the highest privilege, and > VMPL3 is the least privilege. Certain operations must be done by the > VMPL0 software, such as: > > * Validate or invalidate memory range (PVALIDATE instruction) > * Allocate VMSA page (RMPADJUST instruction when VMSA=1) > > The initial SEV-SNP support assumes that the guest is running on VMPL0. > Let's add function in the MemEncryptSevLib that can be used for checking > whether guest is booted under the VMPL0.
Acked-by: Gerd Hoffmann <kra...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#81985): https://edk2.groups.io/g/devel/message/81985 Mute This Topic: https://groups.io/mt/86292914/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-