]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 23 Jul 2008 08:43:42 +0000 (11:43 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:43:00 +0000 (12:43 -0700)
commitc857ebba6025350232c87d89e459338f139a50ab
tree70e9ccc8cbf670f51a4f740e5ac912c290d52cb8
parent205cb93409b6c0d6e66cce8fdf5eef8744d687eb
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction

Original-Commit-Hash: 3cc312f03e06a8fa39ecb4cc0189efc2bd888899

Flush the shadow mmu before removing regions to avoid stale entries.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ia64/kvm/kvm-ia64.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c