From 6198fa7a79c8d13c9eb7c249f7dcaccdd8406563 Mon Sep 17 00:00:00 2001 From: Anirudh Rayabharam Date: Tue, 28 Oct 2025 11:09:04 +0000 Subject: [PATCH] tests: disable broken ivshmem tests for MSHV The ivshmem tests involving snapshot/restore & live migration are failing in the MSHV CI with this error: Could not get vCPU state GetMsrEntries( Hypercall 80 failed with 0x5 : InvalidParameter ...) This needs more investigation. It is worth noting that the general live migration tests are also not run in the CI for MSHV. Disable these tests for MSHV for the time being. Signed-off-by: Anirudh Rayabharam --- tests/integration.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration.rs b/tests/integration.rs index 061a85354..cd41589be 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -7511,6 +7511,7 @@ mod dbus_api { } mod ivshmem { + #[cfg(not(feature = "mshv"))] use std::fs::remove_dir_all; use std::process::Command; @@ -7759,6 +7760,7 @@ mod ivshmem { } #[test] + #[cfg(not(feature = "mshv"))] fn test_snapshot_restore_ivshmem() { let disk_config = UbuntuDiskConfig::new(JAMMY_IMAGE_NAME.to_string()); let guest = Guest::new(Box::new(disk_config)); @@ -7912,11 +7914,13 @@ mod ivshmem { } #[test] + #[cfg(not(feature = "mshv"))] fn test_live_migration_ivshmem() { _test_live_migration_ivshmem(false) } #[test] + #[cfg(not(feature = "mshv"))] fn test_live_migration_ivshmem_local() { _test_live_migration_ivshmem(true) }