commit | ade61e2824443a208bb3aaafd8b345ce878298cd | [log] [tgz] |
---|---|---|
author | Junaid Shahid <junaids@google.com> | Wed Jun 27 14:59:15 2018 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Aug 06 17:58:58 2018 +0200 |
tree | aae386f7ee3a83188f0d7e5b971763970019d490 | |
parent | eb4b248e152d3ecf189b9d32c04961360dbd938a [diff] |
kvm: x86: Skip TLB flush on fast CR3 switch when indicated by guest When PCIDs are enabled, the MSb of the source operand for a MOV-to-CR3 instruction indicates that the TLB doesn't need to be flushed. This change enables this optimization for MOV-to-CR3s in the guest that have been intercepted by KVM for shadow paging and are handled within the fast CR3 switch path. Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>