]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Add qtest for migration over RDMA
authorLi Zhijian <lizhijian@fujitsu.com>
Tue, 11 Mar 2025 02:42:21 +0000 (10:42 +0800)
committerPeter Xu <peterx@redhat.com>
Fri, 2 May 2025 15:09:36 +0000 (11:09 -0400)
commit7d9849c3c41463ab9ba40348a8606927dc0fb85d
tree5b5c53a39028b1b5425f7a71db96b1d664aa056f
parent5e7ca4a7d79da6c9e584886879002f24917c8d27
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>
MAINTAINERS
scripts/rdma-migration-helper.sh [new file with mode: 0755]
tests/qtest/migration/precopy-tests.c