Re: [Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-21 Thread Vladimir Sementsov-Ogievskiy
20.06.2019 19:47, Max Reitz wrote: > On 20.06.19 03:03, John Snow wrote: >> Signed-off-by: John Snow >> --- >> util/hbitmap.c | 22 +- >> 1 file changed, 21 insertions(+), 1 deletion(-) > > I wonder whether this could be used in > backup_incremental_init_copy_bitmap(). The

Re: [Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-21 Thread Vladimir Sementsov-Ogievskiy
20.06.2019 4:03, John Snow wrote: > Signed-off-by: John Snow > --- > util/hbitmap.c | 22 +- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/util/hbitmap.c b/util/hbitmap.c > index 45d1725daf..0d6724b7bc 100644 > --- a/util/hbitmap.c > +++ b/util/hbitmap.

Re: [Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-20 Thread John Snow
On 6/20/19 11:47 AM, Max Reitz wrote: > On 20.06.19 03:03, John Snow wrote: >> Signed-off-by: John Snow >> --- >> util/hbitmap.c | 22 +- >> 1 file changed, 21 insertions(+), 1 deletion(-) >> >> diff --git a/util/hbitmap.c b/util/hbitmap.c >> index 45d1725daf..0d6724b7bc 10

Re: [Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-20 Thread Max Reitz
On 20.06.19 03:03, John Snow wrote: > Signed-off-by: John Snow > --- > util/hbitmap.c | 22 +- > 1 file changed, 21 insertions(+), 1 deletion(-) I wonder whether this could be used in backup_incremental_init_copy_bitmap(). The sync_bitmap must have the same length as the sou

Re: [Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-20 Thread Max Reitz
On 20.06.19 03:03, John Snow wrote: > Signed-off-by: John Snow > --- > util/hbitmap.c | 22 +- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/util/hbitmap.c b/util/hbitmap.c > index 45d1725daf..0d6724b7bc 100644 > --- a/util/hbitmap.c > +++ b/util/hbitmap.

[Qemu-devel] [PATCH 05/12] hbitmap: enable merging across granularities

2019-06-19 Thread John Snow
Signed-off-by: John Snow --- util/hbitmap.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/util/hbitmap.c b/util/hbitmap.c index 45d1725daf..0d6724b7bc 100644 --- a/util/hbitmap.c +++ b/util/hbitmap.c @@ -777,7 +777,17 @@ void hbitmap_truncate(HBitmap *