Skip to content

virtio-iommu: config related fixes and qtest

Eric Auger qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest4 patches 6 repliesIn review

Changes in v6 from the cover letter

- added patches 1-3
- qtest: fix domain_range.end expected value

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4virtio-iommu: Remove set_config callbackhw/virtio/trace-events hw/virtio/virtio-iommu.c+0 -152 replies
2/4virtio-iommu: Fix endianness in get_confighw/virtio/trace-events hw/virtio/virtio-iommu.c+16 -81 reply
3/4virtio-iommu: Fix the domain_range endhw/virtio/virtio-iommu.c+2 -21 reply
4/4tests: qtest: Add virtio-iommu testtests/qtest/libqos/meson.build tests/qtest/libqos/virtio-iommu.c tests/qtest/libqos/virtio-iommu.h +2 more+494 -01 reply

Reviews trailers per patch

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

PatchJean-Philippe BruckerThomas Huth
1/4R-b
2/4R-b
3/4R-b
4/4T-b R-b A-b

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

Read the v6 thread

Cover letter [PATCH v6 0/4] virtio-iommu: config related fixes and qtest

Introduce a qtest for the virtio-iommu device. The test allowed to identify an endianess bug in the get_config(). We also remove the unneeded set_config() and fix the value for domain_range.end field.

Best Regards

Eric

This series can be found at:
https://github.com/eauger/qemu/tree/virtio-iommu-test-v6

History:
v5 -> v6:
- added patches 1-3
- qtest: fix domain_range.end expected value

Eric Auger (4):
virtio-iommu: Remove set_config callback
virtio-iommu: Fix endianness in get_config
virtio-iommu: Fix the domain_range end
tests: qtest: Add virtio-iommu test

 hw/virtio/trace-events            |   3 +-
 hw/virtio/virtio-iommu.c          |  38 ++--
 tests/qtest/libqos/meson.build    |   1 +
 tests/qtest/libqos/virtio-iommu.c | 126 ++++++++++++
 tests/qtest/libqos/virtio-iommu.h |  40 ++++
 tests/qtest/meson.build           |   1 +
 tests/qtest/virtio-iommu-test.c   | 326 ++++++++++++++++++++++++++++++
 7 files changed, 511 insertions(+), 24 deletions(-)
 create mode 100644 tests/qtest/libqos/virtio-iommu.c
 create mode 100644 tests/qtest/libqos/virtio-iommu.h
 create mode 100644 tests/qtest/virtio-iommu-test.c
Signature · 1 line
2.26.3