The first patch avoid spuriously returning 1 [*] when zero-copy flush is attempted before any buffer was sent using MSG_ZEROCOPY.
[*] zero-copy not being used, even though it's enabled and supported by kernel The second patch should be applied on top of Juan Quintela's patchset that reduces the frequency of multifd syncs, or else it could potentially send 20 warnings per second. ... Leonardo Bras (2): QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent migration/multifd: Warn user when zerocopy not working io/channel-socket.c | 8 +++++++- migration/multifd.c | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) -- 2.36.1