mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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 <rbradford@rivosinc.com>
This commit is contained in:
@@ -3007,7 +3007,7 @@ mod common_parallel {
|
|||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
guest
|
guest
|
||||||
.ssh_command("ls /sys/kernel/iommu_groups/0/devices")
|
.ssh_command("ls /sys/kernel/iommu_groups/1/devices")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.trim(),
|
.trim(),
|
||||||
"0001:00:01.0"
|
"0001:00:01.0"
|
||||||
@@ -7126,7 +7126,7 @@ mod common_parallel {
|
|||||||
);
|
);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
guest
|
guest
|
||||||
.ssh_command("ls /sys/kernel/iommu_groups/0/devices")
|
.ssh_command("ls /sys/kernel/iommu_groups/1/devices")
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.trim(),
|
.trim(),
|
||||||
"0001:00:01.0"
|
"0001:00:01.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user