Skip to content
Commit d9e368d6 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Flush remote tlbs when reducing shadow pte permissions



When a vcpu causes a shadow tlb entry to have reduced permissions, it
must also clear the tlb on remote vcpus.  We do that by:

- setting a bit on the vcpu that requests a tlb flush before the next entry
- if the vcpu is currently executing, we send an ipi to make sure it
  exits before we continue

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 39c3b86e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment