]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Do not allow instruction emulation under SEV-ES
authorTom Lendacky <thomas.lendacky@amd.com>
Thu, 10 Dec 2020 17:09:44 +0000 (11:09 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 10:20:46 +0000 (05:20 -0500)
commit7a503196210b07d9ae1ec9b0c61d34c643c2a726
treeb95a2b92cd4e04c7df274595eca74c1648c9ffc9
parentb5ed9e50812672ea9cf3e6819703e658a3253698
KVM: SVM: Do not allow instruction emulation under SEV-ES

When a guest is running as an SEV-ES guest, it is not possible to emulate
instructions. Add support to prevent instruction emulation.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <f6355ea3024fda0a3eb5eb99c6b62dca10d792bd.1607620209.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c