hbitmap: Add @advance param to hbitmap_iter_next()
This new parameter allows the caller to just query the next dirty position without moving the iterator. Signed-off-by:Max Reitz <mreitz@redhat.com> Reviewed-by:
Fam Zheng <famz@redhat.com> Reviewed-by:
John Snow <jsnow@redhat.com> Message-id: 20180613181823.13618-8-mreitz@redhat.com Signed-off-by:
Max Reitz <mreitz@redhat.com>
Showing
- block/backup.c 1 addition, 1 deletionblock/backup.c
- block/dirty-bitmap.c 1 addition, 1 deletionblock/dirty-bitmap.c
- include/qemu/hbitmap.h 4 additions, 1 deletioninclude/qemu/hbitmap.h
- tests/test-hbitmap.c 13 additions, 13 deletionstests/test-hbitmap.c
- util/hbitmap.c 7 additions, 3 deletionsutil/hbitmap.c
Loading
Please register or sign in to comment