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-11 10:42:21 +0800
committerPeter Xu <peterx@redhat.com>2025-05-02 11:09:36 -0400
commit7d9849c3c41463ab9ba40348a8606927dc0fb85d (patch)
tree5b5c53a39028b1b5425f7a71db96b1d664aa056f /tests/qtest/migration/framework.c
parent5e7ca4a7d79da6c9e584886879002f24917c8d27 (diff)
downloadfocaccia-qemu-7d9849c3c41463ab9ba40348a8606927dc0fb85d.tar.gz
focaccia-qemu-7d9849c3c41463ab9ba40348a8606927dc0fb85d.zip
migration: Add qtest for migration over RDMA
This qtest requires there is a RDMA(RoCE) link in the host.
In order to make the test work smoothly, introduce a
scripts/rdma-migration-helper.sh to detect existing RoCE link before
running the test.

Test will be skipped if there is no available RoCE link.
 # Start of rdma tests
 # Running /x86_64/migration/precopy/rdma/plain
 ok 1 /x86_64/migration/precopy/rdma/plain # SKIP No rdma link available
 # To enable the test:
 # Run 'scripts/rdma-migration-helper.sh setup' with root to setup a new rdma/rxe link and rerun the test
 # Optional: run 'scripts/rdma-migration-helper.sh clean' to revert the 'setup'

 # End of rdma tests

Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
Cc: Stefan Hajnoczi <stefanha@gmail.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Message-ID: <20250311024221.363421-1-lizhijian@fujitsu.com>
[add 'head -1' to script, reformat test message]
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'tests/qtest/migration/framework.c')
0 files changed, 0 insertions, 0 deletions