summaryrefslogtreecommitdiffstats
path: root/migration/ram.c
diff options
context:
space:
mode:
authorJuan Quintela2019-06-12 11:33:27 +0200
committerJuan Quintela2020-01-29 11:28:59 +0100
commit00f4b572e60ecfac0fde9193257efc61a76aba7e (patch)
treea8072a567e840cb662b661184bc820ad4e04e5f6 /migration/ram.c
parentmigration: Make checkpatch happy with comments (diff)
downloadqemu-00f4b572e60ecfac0fde9193257efc61a76aba7e.tar.gz
qemu-00f4b572e60ecfac0fde9193257efc61a76aba7e.tar.xz
qemu-00f4b572e60ecfac0fde9193257efc61a76aba7e.zip
multifd: Make multifd_save_setup() get an Error parameter
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index 12b76b7841..78483247ad 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1252,7 +1252,7 @@ static void multifd_new_send_channel_async(QIOTask *task, gpointer opaque)
}
}
-int multifd_save_setup(void)
+int multifd_save_setup(Error **errp)
{
int thread_count;
uint32_t page_count = MULTIFD_PACKET_SIZE / qemu_target_page_size();