KVM: MMU: Don't flush shadow when enabling dirty tracking
authorAvi Kivity <avi@redhat.com>
Mon, 27 Dec 2010 10:08:45 +0000 (12:08 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:24 +0000 (13:08 -0300)
commit8234b22e1c3287307c53655b16478cf8f5071555
tree7dd7ae5f746efe4af845acba9a1cc26b8e4b9637
parent054cfaacf88865bff1dd58d305443d5d6c068a08
KVM: MMU: Don't flush shadow when enabling dirty tracking

Instead, drop large mappings, which were the reason we dropped shadow.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c
virt/kvm/kvm_main.c