KVM: Fix dirty bit tracking for slots with large pages
authorIzik Eidus <ieidus@redhat.com>
Wed, 10 Jun 2009 16:23:24 +0000 (19:23 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 28 Jun 2009 11:10:29 +0000 (14:10 +0300)
commite244584fe3a5c20deddeca246548ac86dbc6e1d1
treea5765ee9610362cefb9a9cdf2a63de11ae73f479
parent4075ea8c54a7506844a69f674990241e7766357b
KVM: Fix dirty bit tracking for slots with large pages

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.

Cc: stable@kernel.org
Signed-off-by: Izik Eidus <ieidus@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c