mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
migration: Make compress_data_with_multithreads return bool
Reviewed-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231019110724.15324-5-quintela@redhat.com>
This commit is contained in:
parent
4e400f9091
commit
83df387df7
3 changed files with 13 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue