From 83df387df7fbd4fb76f3beae56f925dead5bba5a Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 19 Oct 2023 13:07:17 +0200 Subject: migration: Make compress_data_with_multithreads return bool Reviewed-by: Lukas Straub Reviewed-by: Fabiano Rosas Signed-off-by: Juan Quintela Message-ID: <20231019110724.15324-5-quintela@redhat.com> --- migration/ram.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'migration/ram.c') diff --git a/migration/ram.c b/migration/ram.c index 8246663f64..63a575ae90 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2067,8 +2067,7 @@ static bool save_compress_page(RAMState *rs, PageSearchStatus *pss, return false; } - if (compress_page_with_multi_thread(pss->block, offset, - send_queued_data) > 0) { + if (compress_page_with_multi_thread(pss->block, offset, send_queued_data)) { return true; } -- cgit 1.4.1