Re: [PATCH Part2 RFC v4 30/40] KVM: X86: Define new RMP check related #NPF error bits

From: Sean Christopherson
Date: Fri Jul 16 2021 - 16:23:11 EST


Nit, please use "KVM: x86:" for the shortlogs. And ubernit, the "new" part is
redundant and/or misleading, e.g. implies that more error code bits are being
added to existing SNP/RMP checks. E.g.

KVM: x86: Define RMP page fault error code bits for #NPT

On Wed, Jul 07, 2021, Brijesh Singh wrote:
> When SEV-SNP is enabled globally, the hardware places restrictions on all
> memory accesses based on the RMP entry, whether the hyperviso or a VM,

Another typo.

> performs the accesses. When hardware encounters an RMP access violation
> during a guest access, it will cause a #VMEXIT(NPF).