Re: [Qemu-devel] [PATCH 11/18] hbitmap: Add @advance param to hbitmap_iter_next()

2017-09-25 Thread Max Reitz
On 2017-09-25 17:38, Vladimir Sementsov-Ogievskiy wrote: > 13.09.2017 21:19, Max Reitz wrote: >> This new parameter allows the caller to just query the next dirty >> position without moving the iterator. >> >> Signed-off-by: Max Reitz >> --- >>   include/qemu/hbitmap.h |  4 +++- >>   block/dirty-b

Re: [Qemu-devel] [PATCH 11/18] hbitmap: Add @advance param to hbitmap_iter_next()

2017-09-25 Thread Vladimir Sementsov-Ogievskiy
13.09.2017 21:19, Max Reitz wrote: This new parameter allows the caller to just query the next dirty position without moving the iterator. Signed-off-by: Max Reitz --- include/qemu/hbitmap.h | 4 +++- block/dirty-bitmap.c | 2 +- tests/test-hbitmap.c | 26 +-

[Qemu-devel] [PATCH 11/18] hbitmap: Add @advance param to hbitmap_iter_next()

2017-09-13 Thread Max Reitz
This new parameter allows the caller to just query the next dirty position without moving the iterator. Signed-off-by: Max Reitz --- include/qemu/hbitmap.h | 4 +++- block/dirty-bitmap.c | 2 +- tests/test-hbitmap.c | 26 +- util/hbitmap.c | 10 +++--- 4