summary refs log tree commit diff stats
path: root/tests/qtest/migration/framework.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2025-03-05 14:28:24 +0800
committerPeter Xu <peterx@redhat.com>2025-05-02 11:09:36 -0400
commit5e7ca4a7d79da6c9e584886879002f24917c8d27 (patch)
tree384c55516fd56a2d4fc0a42e69ad5281470b2a29 /tests/qtest/migration/framework.c
parent4ecd6beaf9ff4ad88a33eab78789335a6e929564 (diff)
downloadfocaccia-qemu-5e7ca4a7d79da6c9e584886879002f24917c8d27.tar.gz
focaccia-qemu-5e7ca4a7d79da6c9e584886879002f24917c8d27.zip
migration: Unfold control_save_page()
control_save_page() is for RDMA only, unfold it to make the code more
clear.
In addition:
 - Similar to other branches style in ram_save_target_page(), involve RDMA
   only if the condition 'migrate_rdma()' is true.
 - Further simplify the code by removing the RAM_SAVE_CONTROL_NOT_SUPP.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Message-ID: <20250305062825.772629-6-lizhijian@fujitsu.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/migration/framework.c')
0 files changed, 0 insertions, 0 deletions