original_kernel/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
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
paging_tmpl.h
svm.c KVM: SVM: Implement workaround for Erratum 383 2010-06-09 18:47:20 +03:00
timer.c
trace.h
tss.h
vmx.c
x86.c
x86.h