virtio-iommu-pci: Add virtio iommu pci support
This patch adds virtio-iommu-pci, which is the pci proxy for the virtio-iommu device. Currently non DT integration is not yet supported by the kernel. So the machine must implement a hotplug handler for the virtio-iommu-pci device that creates the device tree iommu-map bindings as documented in kernel documentation: Documentation/devicetree/bindings/virtio/iommu.txt Signed-off-by:Eric Auger <eric.auger@redhat.com> Reviewed-by:
Jean-Philippe Brucker <jean-philippe@linaro.org> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Message-Id: <20200214132745.23392-9-eric.auger@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- hw/virtio/Makefile.objs 1 addition, 0 deletionshw/virtio/Makefile.objs
- hw/virtio/virtio-iommu-pci.c 104 additions, 0 deletionshw/virtio/virtio-iommu-pci.c
- include/hw/pci/pci.h 1 addition, 0 deletionsinclude/hw/pci/pci.h
- include/hw/virtio/virtio-iommu.h 1 addition, 0 deletionsinclude/hw/virtio/virtio-iommu.h
- qdev-monitor.c 1 addition, 0 deletionsqdev-monitor.c
hw/virtio/virtio-iommu-pci.c
0 → 100644
Please register or sign in to comment