diff options
author | 2020-09-24 13:41:57 -0500 | |
---|---|---|
committer | 2020-09-25 13:27:35 -0400 | |
commit | 4bb05f30483fd21ea5413eaf1182768f251cf625 (patch) | |
tree | 2b0f1f1e9d7ff62e000b23573184ceebb45248be /net/unix/af_unix.c | |
parent | KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE (diff) | |
download | linux-dev-4bb05f30483fd21ea5413eaf1182768f251cf625.tar.xz linux-dev-4bb05f30483fd21ea5413eaf1182768f251cf625.zip |
KVM: SVM: Add a dedicated INVD intercept routine
The INVD instruction intercept performs emulation. Emulation can't be done
on an SEV guest because the guest memory is encrypted.
Provide a dedicated intercept routine for the INVD intercept. And since
the instruction is emulated as a NOP, just skip it instead.
Fixes: 1654efcbc431 ("KVM: SVM: Add KVM_SEV_INIT command")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <a0b9a19ffa7fef86a3cc700c7ea01cb2731e04e5.1600972918.git.thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions