KVM: Remove unused dirty_bitmap_head and nr_dirty_pages
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Thu, 1 Mar 2012 10:34:45 +0000 (19:34 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:50:01 +0000 (12:50 +0300)
commit93474b25af1eabf5b14743793156e8d307bfcd6b
treea670a601bc0f470e95d38b84a77b0de79735b491
parent60c34612b70711fb14a8dcbc6a79509902450d2e
KVM: Remove unused dirty_bitmap_head and nr_dirty_pages

Now that we do neither double buffering nor heuristic selection of the
write protection method these are not needed anymore.

Note: some drivers have their own implementation of set_bit_le() and
making it generic needs a bit of work; so we use test_and_set_bit_le()
and will later replace it with generic set_bit_le().

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