]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: MMU: out of sync shadow core
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 23 Sep 2008 16:18:39 +0000 (13:18 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 15 Oct 2008 12:25:25 +0000 (14:25 +0200)
commit4731d4c7a07769cf2926c327177b97bb8c68cafc
treec732e9de4dbb35c74c158962771b6804dd8db153
parent6844dec6948679d084f054235fee19ba4e3a3096
KVM: MMU: out of sync shadow core

Allow guest pagetables to go out of sync.  Instead of emulating write
accesses to guest pagetables, or unshadowing them, we un-write-protect
the page table and allow the guest to modify it at will.  We rely on
invlpg executions to synchronize individual ptes, and will synchronize
the entire pagetable on tlb flushes.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/paging_tmpl.h
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h
include/linux/kvm_host.h