mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov
We want to stop dereferencing 'pages' so it can be replaced by an opaque pointer in the next patches. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
171056ec91
commit
112f7d1b75
3 changed files with 4 additions and 3 deletions
|
@ -956,7 +956,7 @@ static void *multifd_send_thread(void *opaque)
|
|||
|
||||
if (migrate_mapped_ram()) {
|
||||
ret = file_write_ramblock_iov(p->c, p->iov, p->iovs_num,
|
||||
pages->block, &local_err);
|
||||
pages, &local_err);
|
||||
} else {
|
||||
ret = qio_channel_writev_full_all(p->c, p->iov, p->iovs_num,
|
||||
NULL, 0, p->write_flags,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue