[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v11 2/7] QIOChannelSocket: Implement io_writev zero copy flag
From: |
Peter Xu |
Subject: |
Re: [PATCH v11 2/7] QIOChannelSocket: Implement io_writev zero copy flag & io_flush for CONFIG_LINUX |
Date: |
Thu, 5 May 2022 08:41:35 -0400 |
On Thu, May 05, 2022 at 01:20:04AM -0300, Leonardo Bras Soares Passos wrote:
> (2) is already implemented in v11, but I have no issue implementing
> (1) for v12 if it's ok to create this 'global' define.
Dan's suggestion in the other thread sounds good to me with current
approach, on having CONFIG_LINUX to wrap the defines.
But note that it's still prone to change in the future, e.g., when other
qemu modules start to use MSG_ZEROCOPY, we'll probably at least move the
defines into some other headers. We could probably need to clean things up
when it happens.
But I won't strongly ask for that - we can leave that for later.
Thanks,
--
Peter Xu
[PATCH v11 3/7] migration: Add zero-copy-send parameter for QMP/HMP for Linux, Leonardo Bras, 2022/05/04
[PATCH v11 4/7] migration: Add migrate_use_tls() helper, Leonardo Bras, 2022/05/04
[PATCH v11 5/7] multifd: multifd_send_sync_main now returns negative on error, Leonardo Bras, 2022/05/04
[PATCH v11 6/7] multifd: Send header packet without flags if zero-copy-send is enabled, Leonardo Bras, 2022/05/04
[PATCH v11 7/7] multifd: Implement zero copy write in multifd migration (multifd-zero-copy), Leonardo Bras, 2022/05/04