diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2020-09-24 21:41:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:18:21 +0300 |
commit | 5d4431c9de063fc23bf0857820e1a8e1798d5e28 (patch) | |
tree | 913b0df501c62d36bceb6a3b553916b5dda755d1 /mm | |
parent | 16788dc19fa186d68e6d3bdb46433636d12dfb84 (diff) | |
download | linux-5d4431c9de063fc23bf0857820e1a8e1798d5e28.tar.xz |
KVM: SVM: Add a dedicated INVD intercept routine
[ Upstream commit 4bb05f30483fd21ea5413eaf1182768f251cf625 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions