summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-06-22 00:24:54 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-24 11:47:56 -0400
commit6c6e166b2c8513721d166c74060d26d3f4aecb48 (patch)
treebd2b8fc0fb6f6cbd2f7dc5589b52c7e087127982 /virt
parentef6a74b2e55e97daf4c7ba2d287878dc3f693b41 (diff)
downloadlinux-6c6e166b2c8513721d166c74060d26d3f4aecb48.tar.gz
linux-6c6e166b2c8513721d166c74060d26d3f4aecb48.tar.xz
KVM: x86/mmu: Don't WARN on a NULL shadow page in TDP MMU check
Treat a NULL shadow page in the "is a TDP MMU" check as valid, non-TDP root. KVM uses a "direct" PAE paging MMU when TDP is disabled and the guest is running with paging disabled. In that case, root_hpa points at the pae_root page (of which only 32 bytes are used), not a standard shadow page, and the WARN fires (a lot). Fixes: 0b873fd7fb53 ("KVM: x86/mmu: Remove redundant is_tdp_mmu_enabled check") Cc: David Matlack <dmatlack@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210622072454.3449146-1-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions