On 05/08/2024 08.27, Zhenzhong Duan wrote:
Add the framework to test the intel-iommu device.
Currently only tested cap/ecap bits correctness in scalable
modern mode. Also tested cap/ecap bits consistency before
and after system reset.
Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
Reviewed-by: Clément Mathieu--Drif<clement.mathieu--d...@eviden.com>
---
MAINTAINERS | 1 +
include/hw/i386/intel_iommu.h | 1 +
tests/qtest/intel-iommu-test.c | 70 ++++++++++++++++++++++++++++++++++
tests/qtest/meson.build | 1 +
4 files changed, 73 insertions(+)
create mode 100644 tests/qtest/intel-iommu-test.c
Acked-by: Thomas Huth <th...@redhat.com>