summaryrefslogtreecommitdiffstats
path: root/crypto/algif_hash.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-02-18 07:16:59 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-18 07:33:30 -0500
commita04aead144fd938c2d9869eb187e5b9ea0009bae (patch)
treeb62e3ebbf40ad1545e52193c0310c2a802d58a33 /crypto/algif_hash.c
parent954f419ba8ad6b636ae46b24aaa6a91512df5da8 (diff)
downloadlinux-a04aead144fd938c2d9869eb187e5b9ea0009bae.tar.bz2
KVM: nSVM: fix running nested guests when npt=0
In case of npt=0 on host, nSVM needs the same .inject_page_fault tweak as VMX has, to make sure that shadow mmu faults are injected as vmexits. It is not clear why this is needed at all, but for now keep the same code as VMX and we'll fix it for both. Based on a patch by Maxim Levitsky <mlevitsk@redhat.com>. Fixes: 7c86663b68ba ("KVM: nSVM: inject exceptions via svm_check_nested_events") Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions