Re: [PATCH v4] tests: qtest: Add virtio-iommu test

2021-10-22 Thread Jean-Philippe Brucker
On Tue, Oct 19, 2021 at 08:37:55AM +0200, Eric Auger wrote: > +static void pci_config(void *obj, void *data, QGuestAllocator *t_alloc) > +{ > +QVirtioIOMMU *v_iommu = obj; > +QVirtioDevice *dev = v_iommu->vdev; > +uint64_t input_range_start = qvirtio_config_readq(dev, 8); > +uint64_

[PATCH v4] tests: qtest: Add virtio-iommu test

2021-10-18 Thread Eric Auger
Add the framework to test the virtio-iommu-pci device and tests exercising the attach/detach, map/unmap API. Signed-off-by: Eric Auger --- This applies on top of jean-Philippe's [PATCH v4 00/11] virtio-iommu: Add ACPI support branch can be found at: https://github.com/eauger/qemu.git branch qte