diff options
author | 2021-11-24 20:20:46 +0800 | |
---|---|---|
committer | 2021-11-26 08:14:21 -0500 | |
commit | 05b29633c7a956d5675f5fbba70db0d26aa5e73e (patch) | |
tree | 50834921a7ecf3b0d01dde1b44760f278892ed17 /scripts/gdb/linux/utils.py | |
parent | KVM: X86: Fix when shadow_root_level=5 && guest root_level<4 (diff) | |
download | linux-dev-05b29633c7a956d5675f5fbba70db0d26aa5e73e.tar.xz linux-dev-05b29633c7a956d5675f5fbba70db0d26aa5e73e.zip |
KVM: X86: Use vcpu->arch.walk_mmu for kvm_mmu_invlpg()
INVLPG operates on guest virtual address, which are represented by
vcpu->arch.walk_mmu. In nested virtualization scenarios,
kvm_mmu_invlpg() was using the wrong MMU structure; if L2's invlpg were
emulated by L0 (in practice, it hardly happen) when nested two-dimensional
paging is enabled, the call to ->tlb_flush_gva() would be skipped and
the hardware TLB entry would not be invalidated.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Message-Id: <20211124122055.64424-5-jiangshanlai@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions