aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2024-02-02 18:28:46 +0800
committerPeter Xu <peterx@redhat.com>2024-02-05 14:42:10 +0800
commit452b205702335ddd45554aaf0eb37baf50bdfa00 (patch)
tree9c8eefe97fac0199e76864a2b2ee5c2e104a1647 /scripts/qapi/source.py
parentmigration/multifd: Move trace_multifd_send|recv() (diff)
downloadqemu-452b205702335ddd45554aaf0eb37baf50bdfa00.tar.xz
qemu-452b205702335ddd45554aaf0eb37baf50bdfa00.zip
migration/multifd: multifd_send_prepare_header()
Introduce a helper multifd_send_prepare_header() to setup the header packet for multifd sender. It's fine to setup the IOV[0] _before_ send_prepare() because the packet buffer is already ready, even if the content is to be filled in. With this helper, we can already slightly clean up the zero copy path. Note that I explicitly put it into multifd.h, because I want it inlined directly into multifd*.c where necessary later. Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240202102857.110210-13-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions