summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-03-04 17:11:01 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-03-15 04:42:25 -0400
commit73ad160693dc3baf230d76cf44c3207defad6e21 (patch)
treef695a81b8403ecff524e06a3ea158bbeae808ff6 /tools/perf/scripts/python/bin
parenta91f387b4bfedab595a987ad41e75d8839a958bf (diff)
downloadlinux-73ad160693dc3baf230d76cf44c3207defad6e21.tar.gz
linux-73ad160693dc3baf230d76cf44c3207defad6e21.zip
KVM: x86/mmu: WARN on NULL pae_root or lm_root, or bad shadow root level
WARN if KVM is about to dereference a NULL pae_root or lm_root when loading an MMU, and convert the BUG() on a bad shadow_root_level into a WARN (now that errors are handled cleanly). With nested NPT, botching the level and sending KVM down the wrong path is all too easy, and the on-demand allocation of pae_root and lm_root means bugs crash the host. Obviously, KVM could unconditionally allocate the roots, but that's arguably a worse failure mode as it would potentially corrupt the guest instead of crashing it. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210305011101.3597423-18-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions