]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 10 Jul 2008 23:49:31 +0000 (20:49 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:40 +0000 (12:42 +0300)
commita4cd1d44e09b01a0201f21a44fd5011f652d2b9d
tree1e8f2c3c4feb54763fd0d8b27ef83ba546215069
parent19af75c8a8e27daf973457bd29c24c5a2d912654
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction

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>
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