summaryrefslogtreecommitdiffstats
path: root/migration/ram.c
diff options
context:
space:
mode:
authorJuan Quintela2019-06-12 11:44:19 +0200
committerJuan Quintela2020-01-29 11:28:59 +0100
commitb673eab4e2ca749669405640bb9e3f5140f89e1b (patch)
treee8109c49864f38d02de291ac6d3cc8e614240491 /migration/ram.c
parentmultifd: Make multifd_save_setup() get an Error parameter (diff)
downloadqemu-b673eab4e2ca749669405640bb9e3f5140f89e1b.tar.gz
qemu-b673eab4e2ca749669405640bb9e3f5140f89e1b.tar.xz
qemu-b673eab4e2ca749669405640bb9e3f5140f89e1b.zip
multifd: Make multifd_load_setup() get an Error parameter
We need to change the full chain to pass the 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 78483247ad..3abd41ad33 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1474,7 +1474,7 @@ static void *multifd_recv_thread(void *opaque)
return NULL;
}
-int multifd_load_setup(void)
+int multifd_load_setup(Error **errp)
{
int thread_count;
uint32_t page_count = MULTIFD_PACKET_SIZE / qemu_target_page_size();