mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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:
parent
00f4b572e6
commit
b673eab4e2
5 changed files with 33 additions and 10 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue