Skip to content

Convert the intel_iommu avocado test

Thomas Huth qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v21 patch 5 repliesSuperseded
  3. v11 patch 11 repliesSuperseded

Changes in v3 from the cover letter

- Use the new hostfwd helper function instead of trying to probe for an unused port on the host
- Use a constant for the guest port 8080

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/functional: Add a helper function for retrieving the hostfwd porttests/functional/qemu_test/utils.py tests/functional/test_info_usernet.py+10 -50 replies
2/2tests/functional: Convert the intel_iommu avocado testMAINTAINERS tests/functional/meson.build tests/functional/test_intel_iommu.py+125 -690 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael S. Tsirkin
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Convert the intel_iommu avocado test

The first patch introduces a helper function for retrieving the hostfwd ports from QEMU.
We then use this helper function to run a HTTP server in the guest in the second patch to exercise the network of the guest.

v3:
- Use the new hostfwd helper function instead of trying to probe for an unused port on the host
- Use a constant for the guest port 8080

Thomas Huth (2):
tests/functional: Add a helper function for retrieving the hostfwd
port
tests/functional: Convert the intel_iommu avocado test

 MAINTAINERS                                   |   1 +
 tests/functional/meson.build                  |   2 +
 tests/functional/qemu_test/utils.py           |   7 +
 tests/functional/test_info_usernet.py         |   8 +-
 .../test_intel_iommu.py}                      | 191 +++++++++++-------
 5 files changed, 135 insertions(+), 74 deletions(-)
 rename tests/{avocado/intel_iommu.py => functional/test_intel_iommu.py} (26%)
 mode change 100644 => 100755
Signature · 1 line
2.47.1