Skip to content

avocado-qemu: New SMMUv3 and intel IOMMU tests

Eric Auger qemu-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 13 repliesIn review
  2. v44 patches 18 repliesSuperseded
  3. v33 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches0 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v5 from the cover letter

- William's patch put before my patches
- some import cleanups
- added @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
- Rename into IntelIOMMU Class
- Added R-b/T-b

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4avocado_qemu: Fix KNOWN_DISTROS map into the LinuxDistro classtests/acceptance/avocado_qemu/__init__.py+42 -326 replies
2/4Acceptance Tests: Add default kernel params and pxeboot url to the KNOWN_DISTROS collectiontests/acceptance/avocado_qemu/__init__.py+51 -21 reply
3/4avocado_qemu: Add SMMUv3 teststests/acceptance/smmu.py+133 -05 replies
4/4avocado_qemu: Add Intel iommu teststests/acceptance/intel_iommu.py+115 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchWillian RampazzoWainer dos Santos MoschettaPeter Xu
1/4A-b
2/4R-b
3/4R-b R-b T-b
4/4T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/4] avocado-qemu: New SMMUv3 and intel IOMMU tests

This series adds ARM SMMU and Intel IOMMU functional tests using Fedora cloud-init images.

ARM SMMU tests feature guests with and without RIL (range invalidation support) using respectively fedora 33 and 31. For each, we test the protection of virtio-net-pci and virtio-block-pci devices. Also strict=no and passthrough modes are tested. So there is a total of 6 tests.

The series applies on top of Cleber's series:
- [PATCH 0/3] Acceptance Tests: support choosing specific

History:
v4 -> v5:
- William's patch put before my patches
- some import cleanups
- added @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
- Rename into IntelIOMMU Class
- Added R-b/T-b

v3 -> v4:
- I added Wainer's refactoring of KNOWN_DISTROS into a class (last patch) and took into account his comments.

v2 -> v3:
- Added Intel IOMMU tests were added. Different operating modes are tested such as strict, caching mode, pt.

Best Regards

Eric

The series and its dependencies can be found at:
https://github.com/eauger/qemu/tree/avocado-qemu-v5

Eric Auger (2):
avocado_qemu: Add SMMUv3 tests
avocado_qemu: Add Intel iommu tests

Willian Rampazzo (2):
avocado_qemu: Fix KNOWN_DISTROS map into the LinuxDistro class Acceptance Tests: Add default kernel params and pxeboot url to the
KNOWN_DISTROS collection

 tests/acceptance/avocado_qemu/__init__.py | 125 ++++++++++++++------
 tests/acceptance/intel_iommu.py           | 115 +++++++++++++++++++
 tests/acceptance/smmu.py                  | 133 ++++++++++++++++++++++
 3 files changed, 340 insertions(+), 33 deletions(-)
 create mode 100644 tests/acceptance/intel_iommu.py
 create mode 100644 tests/acceptance/smmu.py
Signature · 1 line
2.26.3