diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2010-10-22 18:18:17 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 10:23:39 +0100 |
commit | 7905d9a5ad7a83f1c1c00559839857ab90afbdfc (patch) | |
tree | 13cec1f9eebcc01928381105cb628e09e195ad0b /virt/kvm/kvm_main.c | |
parent | KVM: MMU: remove kvm_mmu_set_base_ptes (diff) | |
download | linux-7905d9a5ad7a83f1c1c00559839857ab90afbdfc.tar.xz linux-7905d9a5ad7a83f1c1c00559839857ab90afbdfc.zip |
KVM: MMU: flush TLBs on writable -> read-only spte overwrite
This can happen in the following scenario:
vcpu0 vcpu1
read fault
gup(.write=0)
gup(.write=1)
reuse swap cache, no COW
set writable spte
use writable spte
set read-only spte
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions