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 <anrayabh@microsoft.com>
This commit is contained in:
parent
f033c5837b
commit
f74cde7882
1 changed files with 1 additions and 1 deletions
|
|
@ -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=$?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue