KVM: s390: Add proper dirty bitmap support to S390 kvm.
authorJason J. Herne <jjherne@us.ibm.com>
Thu, 2 Aug 2012 14:10:17 +0000 (10:10 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 22 Apr 2014 07:36:28 +0000 (09:36 +0200)
commit15f36ebd34b5b296c274ef67024f14c2d394a507
tree62736639cca862b5a9c99ca07893be6374c2f76d
parenta0bf4f149bbfa2e31b5f4172c817afdb7b986733
KVM: s390: Add proper dirty bitmap support to S390 kvm.

Replace the kvm_s390_sync_dirty_log() stub with code to construct the KVM
dirty_bitmap from S390 memory change bits.  Also add code to properly clear
the dirty_bitmap size when clearing the bitmap.

Signed-off-by: Jason J. Herne <jjherne@us.ibm.com>
CC: Dominik Dingel <dingel@linux.vnet.ibm.com>
[Dominik Dingel: use gmap_test_and_clear_dirty, locking fixes]
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c
virt/kvm/kvm_main.c