KVM: SVM: Don't intercept #GP for SEV guests
authorSean Christopherson <seanjc@google.com>
Thu, 20 Jan 2022 01:07:13 +0000 (01:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 26 Jan 2022 17:15:00 +0000 (12:15 -0500)
commit0b0be065b7563ac708aaa9f69dd4941c80b3446d
tree6bac05c011dfac052515b59257ec38dd2c8c8e76
parent31c25585695abdf03d6160aa6d829e855b256329
KVM: SVM: Don't intercept #GP for SEV guests

Never intercept #GP for SEV guests as reading SEV guest private memory
will return cyphertext, i.e. emulating on #GP can't work as intended.

Cc: stable@vger.kernel.org
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Message-Id: <20220120010719.711476-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c