All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] Bitmaps patches
@ 2018-02-07 17:01 John Snow
  2018-02-07 17:01 ` [Qemu-devel] [PULL 1/1] hbitmap: fix missing restore count when finish deserialization John Snow
  2018-02-08 11:04 ` [Qemu-devel] [PULL 0/1] Bitmaps patches Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: John Snow @ 2018-02-07 17:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, jsnow

The following changes since commit 0833df03f4206a6cf416fbb3d380fa95c8e61fba:

  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180206a' into staging (2018-02-07 12:07:23 +0000)

are available in the Git repository at:

  https://github.com/jnsnow/qemu.git tags/bitmaps-pull-request

for you to fetch changes up to 3260cdfffbf00f33923f5f9f6bef45932d7ac28b:

  hbitmap: fix missing restore count when finish deserialization (2018-02-07 11:35:49 -0500)

----------------------------------------------------------------

----------------------------------------------------------------

Liang Li (1):
  hbitmap: fix missing restore count when finish deserialization

 util/hbitmap.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.14.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL 1/1] hbitmap: fix missing restore count when finish deserialization
  2018-02-07 17:01 [Qemu-devel] [PULL 0/1] Bitmaps patches John Snow
@ 2018-02-07 17:01 ` John Snow
  2018-02-08 11:04 ` [Qemu-devel] [PULL 0/1] Bitmaps patches Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: John Snow @ 2018-02-07 17:01 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, jsnow, Liang Li, Vladimir Sementsov-Ogievskiy,
	Fam Zheng, Max Reitz, Weiping Zhang

From: Liang Li <liliangleo@didichuxing.com>

The .count of HBitmap is forgot to set in function
hbitmap_deserialize_finish, let's set it to the right value.

Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Cc: Fam Zheng <famz@redhat.com>
Cc: Max Reitz <mreitz@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Weiping Zhang <zhangweiping@didichuxing.com>
Signed-off-by: Liang Li <liliangleo@didichuxing.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180118131308.GA2181@liangdeMacBook-Pro.local
Signed-off-by: John Snow <jsnow@redhat.com>
---
 util/hbitmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/hbitmap.c b/util/hbitmap.c
index 289778a55c..58a2c93842 100644
--- a/util/hbitmap.c
+++ b/util/hbitmap.c
@@ -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)
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL 0/1] Bitmaps patches
  2018-02-07 17:01 [Qemu-devel] [PULL 0/1] Bitmaps patches John Snow
  2018-02-07 17:01 ` [Qemu-devel] [PULL 1/1] hbitmap: fix missing restore count when finish deserialization John Snow
@ 2018-02-08 11:04 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2018-02-08 11:04 UTC (permalink / raw)
  To: John Snow; +Cc: QEMU Developers

On 7 February 2018 at 17:01, John Snow <jsnow@redhat.com> wrote:
> The following changes since commit 0833df03f4206a6cf416fbb3d380fa95c8e61fba:
>
>   Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180206a' into staging (2018-02-07 12:07:23 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/jnsnow/qemu.git tags/bitmaps-pull-request
>
> for you to fetch changes up to 3260cdfffbf00f33923f5f9f6bef45932d7ac28b:
>
>   hbitmap: fix missing restore count when finish deserialization (2018-02-07 11:35:49 -0500)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
>
> Liang Li (1):
>   hbitmap: fix missing restore count when finish deserialization
>
>  util/hbitmap.c | 1 +
>  1 file changed, 1 insertion(+)
>
> --

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-08 11:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-07 17:01 [Qemu-devel] [PULL 0/1] Bitmaps patches John Snow
2018-02-07 17:01 ` [Qemu-devel] [PULL 1/1] hbitmap: fix missing restore count when finish deserialization John Snow
2018-02-08 11:04 ` [Qemu-devel] [PULL 0/1] Bitmaps patches Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.