KVM: SVM: Update cr3_lm_rsvd_bits for AMD SEV guests
authorBabu Moger <babu.moger@amd.com>
Thu, 12 Nov 2020 22:18:03 +0000 (16:18 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2020 11:31:14 +0000 (06:31 -0500)
commit96308b066184d6dcdb677890e620e68290ae98ae
tree5dcdbeb01f07f1a27e3d3eca580a2bb00010dfb4
parent0107973a80adad5b73232d3fbcd26f710ab1f851
KVM: SVM: Update cr3_lm_rsvd_bits for AMD SEV guests

For AMD SEV guests, update the cr3_lm_rsvd_bits to mask
the memory encryption bit in reserved bits.

Signed-off-by: Babu Moger <babu.moger@amd.com>
Message-Id: <160521948301.32054.5783800787423231162.stgit@bmoger-ubuntu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c