Max Reitz 20a579de84 hbitmap: Add hbitmap_is_serializable()
Bitmaps with a granularity of 58 or above can be neither serialized nor
deserialized (see the comment in the function added in this series for
an explanation). This patch adds a function so that we can check whether
a bitmap actually can be (de-)serialized at all, thus avoiding failing
the necessary assertion in hbitmap_serialization_granularity().

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20161115225746.3590-2-mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
2017-01-26 10:25:01 +08:00
..
2017-01-16 13:25:18 +00:00
2016-10-19 10:09:24 +01:00
2017-01-24 13:10:35 -08:00
2017-01-20 16:42:07 +00:00
2017-01-25 10:42:26 +00:00
2017-01-23 15:32:46 +00:00
2016-11-22 10:29:37 -08:00
2017-01-24 23:26:53 +03:00
2017-01-24 13:10:36 -08:00
2017-01-24 13:10:35 -08:00
2016-10-26 08:29:00 -07:00
2015-02-16 15:07:19 +00:00