migration/multifd: Isolate ram pages packet data
authorFabiano Rosas <farosas@suse.de>
Tue, 27 Aug 2024 17:45:57 +0000 (14:45 -0300)
committerFabiano Rosas <farosas@suse.de>
Tue, 3 Sep 2024 19:24:35 +0000 (16:24 -0300)
commit87bb9e953e6729920701dbc439a498586ae7e305
tree90d57379b7b8d18aeb3f4bacf08c7290c6cd2c9a
parent96d396bf50adf996d91421f0d9cac344e3abacd3
migration/multifd: Isolate ram pages packet data

While we cannot yet disentangle the multifd packet from page data, we
can make the code a bit cleaner by setting the page-related fields in
a separate function.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
migration/multifd.c
migration/trace-events