commit | 62518b8b1dccb67969688228f14fb379f1918ede | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Fri May 01 20:52:47 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri May 22 10:50:33 2009 -0500 |
tree | e4942fb579f1861d9e0a9861060db8c2e79a8fef | |
parent | 4495d6a74575b4ee7e9aabdc66e67b6c9e19a698 [diff] |
kvm: Fix dirty log temporary buffer size The buffer passed to KVM_GET_DIRTY_LOG requires one bit per page. Fix the size calculation in kvm_physical_sync_dirty_bitmap accordingly, avoiding allocation of extremly oversized buffers. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>