[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/11] multifd: Fill offset and block for reception
From: |
Juan Quintela |
Subject: |
[PATCH 03/11] multifd: Fill offset and block for reception |
Date: |
Fri, 19 Nov 2021 17:58:55 +0100 |
We were using the iov directly, but we will need this info on the
following patch.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
migration/multifd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/migration/multifd.c b/migration/multifd.c
index 7c9deb1921..e2adcdffa1 100644
--- a/migration/multifd.c
+++ b/migration/multifd.c
@@ -364,6 +364,8 @@ static int multifd_recv_unfill_packet(MultiFDRecvParams *p,
Error **errp)
offset, block->used_length);
return -1;
}
+ p->pages->offset[i] = offset;
+ p->pages->block = block;
p->pages->iov[i].iov_base = block->host + offset;
p->pages->iov[i].iov_len = qemu_target_page_size();
}
--
2.33.1
- [PATCH 00/11] migration: Make multifd use only one write on the send path, Juan Quintela, 2021/11/19
- [PATCH 03/11] multifd: Fill offset and block for reception,
Juan Quintela <=
- [PATCH 01/11] migration: Remove is_zero_range(), Juan Quintela, 2021/11/19
- [PATCH 06/11] migration: Move iov from pages to params, Juan Quintela, 2021/11/19
- [PATCH 05/11] multifd: Make zlib compression method not use iovs, Juan Quintela, 2021/11/19
- [PATCH 07/11] multifd: Make zlib use iov's, Juan Quintela, 2021/11/19
- [PATCH 04/11] multifd: Make zstd compression method not use iovs, Juan Quintela, 2021/11/19