aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJunaid Shahid <[email protected]>2020-03-20 14:28:00 -0700
committerPaolo Bonzini <[email protected]>2020-04-15 12:08:49 -0400
commitd6e3f8385d27e6357221e01158fdd369f762cd0f (patch)
treed485f5f3f2969deb662ba35945a0a79686d6bd0d /tools/perf/scripts/python
parentf8aa7e3958bc433087ae7b9d7f24a92036c41141 (diff)
KVM: nVMX: Invalidate all roots when emulating INVVPID without EPT
Free all roots when emulating INVVPID for L1 and EPT is disabled, as outstanding changes to the page tables managed by L1 need to be recognized. Because L1 and L2 share an MMU when EPT is disabled, and because VPID is not tracked by the MMU role, all roots in the current MMU (root_mmu) need to be freed, otherwise a future nested VM-Enter or VM-Exit could do a fast CR3 switch (without a flush/sync) and consume stale SPTEs. Fixes: 5c614b3583e7b ("KVM: nVMX: nested VPID emulation") Signed-off-by: Junaid Shahid <[email protected]> [sean: ported to upstream KVM, reworded the comment and changelog] Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions