OSDN Git Service

tests: qtest: Add virtio-iommu test
authorEric Auger <eric.auger@redhat.com>
Sat, 27 Nov 2021 07:29:10 +0000 (08:29 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 15 Dec 2021 07:08:59 +0000 (08:08 +0100)
commitbecf88730b86c94137cad20c98ef3b8d24559b9b
tree55307d83c04adebf2202c64be9752e090226e4c9
parent6b77ae0531d1a70a87c08408f6c9cd3389439686
tests: qtest: Add virtio-iommu test

Add the framework to test the virtio-iommu-pci device
and tests exercising the attach/detach, map/unmap API.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211127072910.1261824-5-eric.auger@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/libqos/meson.build
tests/qtest/libqos/virtio-iommu.c [new file with mode: 0644]
tests/qtest/libqos/virtio-iommu.h [new file with mode: 0644]
tests/qtest/meson.build
tests/qtest/virtio-iommu-test.c [new file with mode: 0644]