aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2021-06-15 09:45:34 -0700
committerPaolo Bonzini <[email protected]>2021-06-18 06:24:50 -0400
commit8bbed95d2cb6e5de8a342d761a89b0a04faed7be (patch)
treeb29d109013807d563aea7ff33c2b23e6a175a70a /tools/perf/scripts/python/stackcollapse.py
parentb26a71a1a5b93531bd93305c9c0c7eae2d5cace1 (diff)
KVM: x86: WARN and reject loading KVM if NX is supported but not enabled
WARN if NX is reported as supported but not enabled in EFER. All flavors of the kernel, including non-PAE 32-bit kernels, set EFER.NX=1 if NX is supported, even if NX usage is disable via kernel command line. KVM relies on NX being enabled if it's supported, e.g. KVM will generate illegal NPT entries if nx_huge_pages is enabled and NX is supported but not enabled. Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions