Re: [PATCH 2/2] KVM:SVM: Mask SEV encryption bit from CR3 reserved bits

2020-11-12 Thread Babu Moger
On 11/12/20 2:32 AM, Paolo Bonzini wrote: > On 12/11/20 01:28, Babu Moger wrote: >> Add support to the mask_cr3_rsvd_bits() callback to mask the >> encryption bit from the CR3 value when SEV is enabled. >> >> Additionally, cache the encryption mask for quick access during >> the check. >> >> Fix

Re: [PATCH 2/2] KVM:SVM: Mask SEV encryption bit from CR3 reserved bits

2020-11-12 Thread Paolo Bonzini
On 12/11/20 01:28, Babu Moger wrote: Add support to the mask_cr3_rsvd_bits() callback to mask the encryption bit from the CR3 value when SEV is enabled. Additionally, cache the encryption mask for quick access during the check. Fixes: a780a3ea628268b2 ("KVM: X86: Fix reserved bits check for MOV