From f74cde788271bac5c60329801879e905135c1287 Mon Sep 17 00:00:00 2001 From: Anirudh Rayabharam Date: Tue, 28 Oct 2025 11:06:26 +0000 Subject: [PATCH] scripts: build mshv feature for ivshmem testing The ivshmem tests are all failing in the CI for MSHV because Cloud Hypervisor is built without the mshv feature. Error: Cloud Hypervisor exited with the following chain of errors: 0: Failed to open hypervisor interface (is hypervisor interface available?) 1: Failed to create the hypervisor 2: no supported hypervisor Modify the build command to include the mshv feature. Signed-off-by: Anirudh Rayabharam --- scripts/run_integration_tests_x86_64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_integration_tests_x86_64.sh b/scripts/run_integration_tests_x86_64.sh index 2f628c9bb..1d9c56be7 100755 --- a/scripts/run_integration_tests_x86_64.sh +++ b/scripts/run_integration_tests_x86_64.sh @@ -207,7 +207,7 @@ if [ $RES -eq 0 ]; then fi if [ $RES -eq 0 ]; then - cargo build --features ivshmem --all --release --target "$BUILD_TARGET" + cargo build --features "mshv,ivshmem" --all --release --target "$BUILD_TARGET" export RUST_BACKTRACE=1 time cargo test $test_features "ivshmem::$test_filter" --target "$BUILD_TARGET" -- ${test_binary_args[*]} RES=$?