diff options
| author | Max Reitz | 2016-11-15 23:57:45 +0100 |
|---|---|---|
| committer | Fam Zheng | 2017-01-26 03:25:01 +0100 |
| commit | 20a579de8484096d18e65751ebe63fee31551f04 (patch) | |
| tree | b18432ea3cce4bb67817676b72a8c1e2ee0c3bb3 /linux-headers | |
| parent | Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (diff) | |
| download | qemu-20a579de8484096d18e65751ebe63fee31551f04.tar.gz qemu-20a579de8484096d18e65751ebe63fee31551f04.tar.xz qemu-20a579de8484096d18e65751ebe63fee31551f04.zip | |
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>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions
