Searched hist:a4d5224c2cb650b5a401d626d3f36e42e6987aa7 (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/qemu/ |
H A D | hbitmap.h | diff a4d5224c2cb650b5a401d626d3f36e42e6987aa7 Thu Feb 02 12:15:23 CST 2023 Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com> hbitmap: fix hbitmap_status() return value for first dirty bit case
The last return statement should return true, as we already evaluated that start == next_dirty
Also, fix hbitmap_status() description in header
Cc: qemu-stable@nongnu.org Fixes: a6426475a75 ("block/dirty-bitmap: introduce bdrv_dirty_bitmap_status()") Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com> Message-Id: <20230202181523.423131-1-andrey.zhadchenko@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
/openbmc/qemu/util/ |
H A D | hbitmap.c | diff a4d5224c2cb650b5a401d626d3f36e42e6987aa7 Thu Feb 02 12:15:23 CST 2023 Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com> hbitmap: fix hbitmap_status() return value for first dirty bit case
The last return statement should return true, as we already evaluated that start == next_dirty
Also, fix hbitmap_status() description in header
Cc: qemu-stable@nongnu.org Fixes: a6426475a75 ("block/dirty-bitmap: introduce bdrv_dirty_bitmap_status()") Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko@virtuozzo.com> Message-Id: <20230202181523.423131-1-andrey.zhadchenko@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|