migration: Add Error** argument to xbzrle_init()
authorCédric Le Goater <clg@redhat.com>
Wed, 20 Mar 2024 06:49:09 +0000 (07:49 +0100)
committerPeter Xu <peterx@redhat.com>
Tue, 23 Apr 2024 22:36:01 +0000 (18:36 -0400)
commit7bee8ba8bbcef27cc98bc85747258e942f8d9717
treeb5b8bc27f042c2de0f83e5eb26e94456f0ec0800
parent16ecd25a4f324fd98cb974a0fd80390c7e136ea7
migration: Add Error** argument to xbzrle_init()

Since the return value (-ENOMEM) is not exploited, follow the
recommendations of qapi/error.h and change it to a bool

Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20240320064911.545001-14-clg@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/ram.c