linux-stable-rt/arch/x86/kvm
Avi Kivity 69325a1225 KVM: MMU: Remove user access when allowing kernel access to gpte.w=0 page
If cr0.wp=0, we have to allow the guest kernel access to a page with pte.w=0.
We do that by setting spte.w=1, since the host cr0.wp must remain set so the
host can write protect pages.  Once we allow write access, we must remove
user access otherwise we mistakenly allow the user to write the page.

Reviewed-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-06-09 18:48:37 +03:00
..
Kconfig
Makefile
emulate.c KVM: fix emulator_task_switch() return value. 2010-05-17 12:17:49 +03:00
i8254.c
i8254.h
i8259.c
irq.c
irq.h
kvm_cache_regs.h
kvm_timer.h
lapic.c
lapic.h
mmu.c KVM: MMU: Remove user access when allowing kernel access to gpte.w=0 page 2010-06-09 18:48:37 +03:00
mmu.h
mmutrace.h KVM: MMU: convert mmu tracepoints 2010-05-19 11:36:26 +03:00
paging_tmpl.h KVM: MMU: cleanup invlpg code 2010-05-19 11:36:28 +03:00
svm.c KVM: SVM: Implement workaround for Erratum 383 2010-06-09 18:47:20 +03:00
timer.c
trace.h KVM: Trace emulated instructions 2010-05-17 12:17:35 +03:00
tss.h
vmx.c Merge branch 'kvm-updates/2.6.35' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-05-21 17:16:21 -07:00
x86.c Merge branch 'kvm-updates/2.6.35' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-05-21 17:16:21 -07:00
x86.h KVM: use the correct RCU API for PROVE_RCU=y 2010-05-17 12:18:01 +03:00