Home
last modified time | relevance | path

Searched hist:"20 a579de8484096d18e65751ebe63fee31551f04" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/qemu/
H A Dhbitmap.hdiff 20a579de8484096d18e65751ebe63fee31551f04 Tue Nov 15 16:57:45 CST 2016 Max Reitz <mreitz@redhat.com> 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>
/openbmc/qemu/util/
H A Dhbitmap.cdiff 20a579de8484096d18e65751ebe63fee31551f04 Tue Nov 15 16:57:45 CST 2016 Max Reitz <mreitz@redhat.com> 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>