tests: Disable tests on ARM64 that don't work with stock kernel

An edk2 boot is needed for ACPI support but the stock ARM64 kernel does
not support ACPI memory hotplug or virtio-pmem. For now disable those
tests but track them in #8187.

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-05-11 15:54:53 +01:00
parent 9b7260e630
commit e0e10b5971

View File

@@ -2767,6 +2767,7 @@ mod common_parallel {
} }
#[test] #[test]
#[cfg_attr(target_arch = "aarch64", ignore = "See #8187")]
fn test_memory_hotplug() { fn test_memory_hotplug() {
let disk_config = UbuntuDiskConfig::new(JAMMY_IMAGE_NAME.to_string()); let disk_config = UbuntuDiskConfig::new(JAMMY_IMAGE_NAME.to_string());
let guest = Guest::new(Box::new(disk_config)); let guest = Guest::new(Box::new(disk_config));
@@ -4924,11 +4925,13 @@ mod common_parallel {
} }
#[test] #[test]
#[cfg_attr(target_arch = "aarch64", ignore = "See #8187")]
fn test_pmem_hotplug() { fn test_pmem_hotplug() {
_test_pmem_hotplug(None); _test_pmem_hotplug(None);
} }
#[test] #[test]
#[cfg_attr(target_arch = "aarch64", ignore = "See #8187")]
fn test_pmem_multi_segment_hotplug() { fn test_pmem_multi_segment_hotplug() {
_test_pmem_hotplug(Some(15)); _test_pmem_hotplug(Some(15));
} }
@@ -11162,6 +11165,7 @@ mod aarch64_acpi {
} }
#[test] #[test]
#[cfg_attr(target_arch = "aarch64", ignore = "See #8187")]
fn test_virtio_iommu() { fn test_virtio_iommu() {
_test_virtio_iommu(true); _test_virtio_iommu(true);
} }