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:
parent
b3b51bd3a2
commit
d586c844de
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue