mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging
# gpg: Signature made Wed 07 Feb 2018 17:00:12 GMT # gpg: using RSA key 7DEF8106AAFC390E # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" # Primary key fingerprint: FAEB 9711 A12C F475 812F 18F2 88A9 064D 1835 61EB # Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76 CBD0 7DEF 8106 AAFC 390E * remotes/jnsnow/tags/bitmaps-pull-request: hbitmap: fix missing restore count when finish deserialization Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -630,6 +630,7 @@ void hbitmap_deserialize_finish(HBitmap *bitmap)
|
||||
}
|
||||
|
||||
bitmap->levels[0][0] |= 1UL << (BITS_PER_LONG - 1);
|
||||
bitmap->count = hb_count_between(bitmap, 0, bitmap->size - 1);
|
||||
}
|
||||
|
||||
void hbitmap_free(HBitmap *hb)
|
||||
|
||||
Reference in New Issue
Block a user