diff options
| author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2012-03-01 05:34:45 -0500 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2012-04-08 05:50:01 -0400 |
| commit | 93474b25af1eabf5b14743793156e8d307bfcd6b (patch) | |
| tree | a670a601bc0f470e95d38b84a77b0de79735b491 /include/linux | |
| parent | 60c34612b70711fb14a8dcbc6a79509902450d2e (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kvm_host.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 5184817e714..49c2f2fd281 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -179,8 +179,6 @@ struct kvm_memory_slot { | |||
| 179 | unsigned long flags; | 179 | unsigned long flags; |
| 180 | unsigned long *rmap; | 180 | unsigned long *rmap; |
| 181 | unsigned long *dirty_bitmap; | 181 | unsigned long *dirty_bitmap; |
| 182 | unsigned long *dirty_bitmap_head; | ||
| 183 | unsigned long nr_dirty_pages; | ||
| 184 | struct kvm_arch_memory_slot arch; | 182 | struct kvm_arch_memory_slot arch; |
| 185 | unsigned long userspace_addr; | 183 | unsigned long userspace_addr; |
| 186 | int user_alloc; | 184 | int user_alloc; |
