aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2022-02-09 04:56:05 -0500
committerPaolo Bonzini <[email protected]>2022-02-25 08:20:15 -0500
commitd6174299365ddbbf491620c0b8c5ca1a6ef2eea5 (patch)
treea97f8e14dd4c248e9ab8b645e8d12d8602778e07 /tools/perf/scripts/python
parent20e416720e7448425c421f1a59b07ff574f8b1e1 (diff)
KVM: x86: Reinitialize context if host userspace toggles EFER.LME
While the guest runs, EFER.LME cannot change unless CR0.PG is clear, and therefore EFER.NX is the only bit that can affect the MMU role. However, set_efer accepts a host-initiated change to EFER.LME even with CR0.PG=1. In that case, the MMU has to be reset. Fixes: 11988499e62b ("KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes") Cc: [email protected] Reviewed-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions