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 ...<snip>)

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 <anrayabh@microsoft.com>
This commit is contained in:
Anirudh Rayabharam 2025-10-28 11:09:04 +00:00 committed by Rob Bradford
parent f74cde7882
commit 6198fa7a79

View file

@ -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)
}