From d586c844de43d69f3d9f27e53aeeb48d033b28ad Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 12 Nov 2025 17:05:34 +0000 Subject: [PATCH] tests: Update test_iommu_segments check After updating the Linux kernel to 6.19.6 the second segment (segment=1) is now under the 2nd IOMMU group (which it a more logical setup) and as such the added device which is on that segment is in that second IOMMU group. The same check is made in test_vdpa_block so also test there. Signed-off-by: Rob Bradford --- tests/integration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration.rs b/tests/integration.rs index 87ffc08a9..a419f9d27 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -3007,7 +3007,7 @@ mod common_parallel { ); assert_eq!( guest - .ssh_command("ls /sys/kernel/iommu_groups/0/devices") + .ssh_command("ls /sys/kernel/iommu_groups/1/devices") .unwrap() .trim(), "0001:00:01.0" @@ -7126,7 +7126,7 @@ mod common_parallel { ); assert_eq!( guest - .ssh_command("ls /sys/kernel/iommu_groups/0/devices") + .ssh_command("ls /sys/kernel/iommu_groups/1/devices") .unwrap() .trim(), "0001:00:01.0"