From b7b3b45364c055e622e73eea5d98f8fee0a975d3 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Tue, 18 Jan 2022 06:28:28 -0500 Subject: [PATCH] tests: Enable `test_vfio_user` for AArch64 Signed-off-by: Henry Wang --- tests/integration.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 1748e0b71..9ba99b8f4 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -6172,11 +6172,14 @@ mod parallel { exec_host_command_status("pkill -f nvmf_tgt"); } - #[ignore] - #[cfg(target_arch = "x86_64")] #[test] + #[cfg(target_arch = "aarch64")] fn test_vfio_user() { - let focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string()); + #[cfg(target_arch = "aarch64")] + let focal_image = FOCAL_IMAGE_UPDATE_KERNEL_NAME.to_string(); + #[cfg(target_arch = "x86_64")] + let focal_image = FOCAL_IMAGE_NAME.to_string(); + let focal = UbuntuDiskConfig::new(focal_image); let guest = Guest::new(Box::new(focal)); let spdk_nvme_dir = guest.tmp_dir.as_path().join("test-vfio-user");