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>
This commit is contained in:
Juan Quintela 2019-06-12 11:44:19 +02:00
parent 00f4b572e6
commit b673eab4e2
5 changed files with 33 additions and 10 deletions

View file

@ -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();