diff options
| author | Fabiano Rosas <farosas@suse.de> | 2024-08-27 14:45:51 -0300 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2024-09-03 16:24:35 -0300 |
| commit | 112f7d1b752543de06ae96210a14abbed7913922 (patch) | |
| tree | 6f7dd5424f22b642624192b30331c70df0e10575 /migration/multifd.c | |
| parent | 171056ec91bf6c895864d11857dd3add1f565492 (diff) | |
| download | focaccia-qemu-112f7d1b752543de06ae96210a14abbed7913922.tar.gz focaccia-qemu-112f7d1b752543de06ae96210a14abbed7913922.zip | |
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>
Diffstat (limited to 'migration/multifd.c')
| -rw-r--r-- | migration/multifd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/multifd.c b/migration/multifd.c index 30e5c687d3..640e4450ff 100644 --- a/migration/multifd.c +++ b/migration/multifd.c @@ -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, |