bitmap: use long as index
commit9c22687ea8c1a2644a41a683ff0a291adc9a657c
authorJuan Quintela <quintela@redhat.com>
Tue, 17 Dec 2013 11:12:24 +0000 (17 12:12 +0100)
committerJuan Quintela <quintela@redhat.com>
Mon, 13 Jan 2014 13:04:53 +0000 (13 14:04 +0100)
treeb561a4daaa60423e2bfe0e51a5f22c9457f9054c
parent2668b4bff484a8428947c10a0efb9758658f4b1a
bitmap: use long as index

Move index and size fields from int to long.  We need that for
migration.  long is 64 bits on sane architectures, and 32bits should
be enough on all the 32bits architectures.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
include/qemu/bitmap.h
include/qemu/bitops.h
util/bitmap.c