]> git.baikalelectronics.ru Git - kernel.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)
commitf77b71643299eeef301abd8498fc9a11ebb0d4bf
treec732e9de4dbb35c74c158962771b6804dd8db153
parentbfce1e4c0210203f1d97b80b40eb979ff79b256d
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