diff options
| author | Peter Xu <peterx@redhat.com> | 2024-02-02 18:28:50 +0800 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-02-05 14:42:10 +0800 |
| commit | d6556d174a6b9fc443f2320193f18e71eb67052a (patch) | |
| tree | d4dda39931d71af75d5afd9ce8262bf90536162b /migration/multifd.h | |
| parent | 3ab4441d97af59ea09ee015d68c4770704b2b34f (diff) | |
| download | focaccia-qemu-d6556d174a6b9fc443f2320193f18e71eb67052a.tar.gz focaccia-qemu-d6556d174a6b9fc443f2320193f18e71eb67052a.zip | |
migration/multifd: Change retval of multifd_queue_page()
Using int is an overkill when there're only two options. Change it to a boolean. Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240202102857.110210-17-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration/multifd.h')
| -rw-r--r-- | migration/multifd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/multifd.h b/migration/multifd.h index 34a2ecb9f4..a320c53a6f 100644 --- a/migration/multifd.h +++ b/migration/multifd.h @@ -22,7 +22,7 @@ bool multifd_recv_all_channels_created(void); void multifd_recv_new_channel(QIOChannel *ioc, Error **errp); void multifd_recv_sync_main(void); int multifd_send_sync_main(void); -int multifd_queue_page(RAMBlock *block, ram_addr_t offset); +bool multifd_queue_page(RAMBlock *block, ram_addr_t offset); /* Multifd Compression flags */ #define MULTIFD_FLAG_SYNC (1 << 0) |