KVM: Fix dirty page log bitmap size/access calculation
authorUri Lublin <uril@qumranet.com>
Thu, 22 Feb 2007 14:43:09 +0000 (16:43 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 Mar 2007 09:12:42 +0000 (11:12 +0200)
commitcd1a4a982a78e793125db2f386e91dc7c89c9ed1
tree7e5e9dd9534feed9ecc83c147e2f6166a6edbc48
parentab51a434c5816e1ca3f033791c1cc5c6594998ec
KVM: Fix dirty page log bitmap size/access calculation

Since dirty_bitmap is an unsigned long array, the alignment and size need
to take that into account.

Signed-off-by: Uri Lublin <uril@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c