migration: Change ram_dirty_bitmap_reload() retval to bool
authorPeter Xu <peterx@redhat.com>
Tue, 17 Oct 2023 20:26:32 +0000 (16:26 -0400)
committerJuan Quintela <quintela@redhat.com>
Thu, 2 Nov 2023 10:35:03 +0000 (11:35 +0100)
commit88577f32421cd6f52928b0c69573983d8d9acbd0
tree12ec768ce7cc30a9c7a51e608f02be57060030d3
parent7bca2bb7bfd2fe5241696fd09cc97f23661d4fc8
migration: Change ram_dirty_bitmap_reload() retval to bool

Now we have a Error** passed into the return path thread stack, which is
even clearer than an int retval.  Change ram_dirty_bitmap_reload() and the
callers to use a bool instead to replace errnos.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231017202633.296756-5-peterx@redhat.com>
migration/migration.c
migration/ram.c
migration/ram.h