Home
last modified time | relevance | path

Searched hist:"71 df14fcbe5035d0728f30463414301eb62ad865" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff 71df14fcbe5035d0728f30463414301eb62ad865 Thu Apr 12 07:01:04 CDT 2012 Paolo Bonzini <pbonzini@redhat.com> block: fix allocation size for dirty bitmap

Also reuse elsewhere the new constant for sizeof(unsigned long) * 8.

The dirty bitmap is allocated in bits but declared as unsigned long.
Thus, its memory block is accessed beyond its end unless the image
is a multiple of 64 chunks (i.e. a multiple of 64 MB).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>