KVM: Count the number of dirty pages for dirty logging
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Mon, 14 Nov 2011 09:23:34 +0000 (18:23 +0900)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:19 +0000 (11:17 +0200)
commit7850ac5420803996e2960d15b924021f28e0dffc
treedc4ed43a8e5ffcfbf45b48c8d78228ffe9762efa
parent9b9b1492364758de82c19c36f07baa9ae162c7e5
KVM: Count the number of dirty pages for dirty logging

Needed for the next patch which uses this number to decide how to write
protect a slot.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c