Skip to content

system: expect the vfio-pci vIOMMU error with amd-iommu in the x86 test - #334

Merged
tamnd merged 1 commit into
mainfrom
fix-vfio-viommu-test
Oct 14, 2026
Merged

tamnd merged 1 commit into
mainfrom
fix-vfio-viommu-test

Conversation

@tamnd

@tamnd tamnd commented Oct 14, 2026

Copy link
Copy Markdown
Owner

This fixes a test broken by #330: x86::tests::vfio_pci_properties in ruvm-system fails on Linux since then. #330 lets vfio-pci sit behind intel-iommu, so a plan with intel-iommu and vfio-pci no longer fails, but the test still expected the "vfio-pci with a vIOMMU is not supported by ruvm yet" error for that pair. The test only builds on Linux, so the macOS checks did not catch it.

The check now uses amd-iommu, which still sends the container no notifications and still gets the error. Nothing outside the test changes.

Checked on server2: cargo test -p ruvm-system --lib passes again with the change, and the test fails on the current main without it. There is no QEMU side to compare, since this is a ruvm test of ruvm's own refusal.

Part of #7.

@tamnd tamnd added this to the M6: macOS, Windows, Arm, RISC-V milestone Oct 14, 2026
@tamnd tamnd added kind/bug It does the wrong thing. area/testing QEMU's suites against ruvm, differential testing, fuzzing. labels Oct 14, 2026
@tamnd
tamnd merged commit 01b3b12 into main Oct 14, 2026
@tamnd
tamnd deleted the fix-vfio-viommu-test branch October 14, 2026 13:16
@tamnd tamnd mentioned this pull request Oct 14, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing QEMU's suites against ruvm, differential testing, fuzzing. kind/bug It does the wrong thing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant