]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: Fix dirty bit tracking for slots with large pages
authorIzik Eidus <ieidus@redhat.com>
Thu, 6 Aug 2009 17:40:05 +0000 (14:40 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:27 +0000 (20:17 -0700)
commitf599c5cbcaa13a93215d2f260815d29f265a4457
tree0d9a6252aaab6f98ff83ddec78328633519d1802
parentd2127c8300fb1ec54af56faee17170e7a525326d
KVM: Fix dirty bit tracking for slots with large pages

(cherry picked from commit e244584fe3a5c20deddeca246548ac86dbc6e1d1)

When slot is already allocated and being asked to be tracked we need
to break the large pages.

This code flush the mmu when someone ask a slot to start dirty bit
tracking.

Signed-off-by: Izik Eidus <ieidus@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
virt/kvm/kvm_main.c