Hi, Here are two cleanups that are prerequiste for the fixed-ram work, but also affect the other series on the list at the moment, so I want to make sure it works for everyone:
1) Separate multifd_ops from compression. The multifd_ops are currently coupled with the multifd_compression parameter. We're adding new multifd_ops in the fixed-ram work and adding new compression ops in the compression work. 2) Add a new send hook. The multifd_send_thread code currently does some twists to support zero copy, which is a socket-only feature. This might affect the zero page and DSA work which add code to multifd_send_thread. CI run: https://gitlab.com/farosas/qemu/-/pipelines/1154332360 (I also tested zero copy locally. We cannot add a test for it because it needs root due to memory locking limits) Fabiano Rosas (5): migration/multifd: Separate compression ops from non-compression migration/multifd: Move multifd_socket_ops to socket.c migration/multifd: Add multifd_ops->send migration/multifd: Simplify zero copy send migration/multifd: Move zero copy flag into multifd_socket_setup migration/multifd-zlib.c | 9 ++- migration/multifd-zstd.c | 9 ++- migration/multifd.c | 164 +++++---------------------------------- migration/multifd.h | 6 +- migration/socket.c | 90 ++++++++++++++++++++- 5 files changed, 128 insertions(+), 150 deletions(-) -- 2.35.3