migration: Add Error** argument to add_bitmaps_to_list()
authorCédric Le Goater <clg@redhat.com>
Fri, 29 Mar 2024 10:56:27 +0000 (11:56 +0100)
committerPeter Xu <peterx@redhat.com>
Tue, 23 Apr 2024 22:36:01 +0000 (18:36 -0400)
commitdd031677257d7d00a72f28f073befc22691a0ad6
treecce47030eca34e2a284f4e4242f79681e779daa1
parent030b56b280375242cd8591b06e806978b8564be1
migration: Add Error** argument to add_bitmaps_to_list()

This allows to report more precise errors in the migration handler
dirty_bitmap_save_setup().

Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Link: https://lore.kernel.org/r/20240329105627.311227-1-clg@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/block-dirty-bitmap.c