qemu/hw/remote
Yi Liu ba7d12eb8c hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps
This patch modifies pci_setup_iommu() to set PCIIOMMUOps
instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to
get an address space for a PCI device in vendor specific
way. The PCIIOMMUOps still offers this functionality. But
using PCIIOMMUOps leaves space to add more iommu related
vendor specific operations.

Cc: Kevin Tian <kevin.tian@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Eric Auger <eric.auger@redhat.com>
Cc: Yi Sun <yi.y.sun@linux.intel.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Eric Auger <eric.auger@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Hervé Poussineau <hpoussin@reactos.org>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: BALATON Zoltan <balaton@eik.bme.hu>
Cc: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Cc: Jagannathan Raman <jag.raman@oracle.com>
Cc: Matthew Rosato <mjrosato@linux.ibm.com>
Cc: Eric Farman <farman@linux.ibm.com>
Cc: Halil Pasic <pasic@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Helge Deller <deller@gmx.de>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
[ clg: - refreshed on latest QEMU
       - included hw/remote/iommu.c
       - documentation update
       - asserts in pci_setup_iommu()
       - removed checks on iommu_bus->iommu_ops->get_address_space
       - included Elroy PCI host (PA-RISC) ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-11-03 09:20:31 +01:00
..
iohub.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
iommu.c hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps 2023-11-03 09:20:31 +01:00
Kconfig vfio-user: build library 2022-06-15 16:42:33 +01:00
machine.c Drop duplicate #include 2023-02-08 07:28:05 +01:00
memory.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
meson.build hw/remote: move stub vfu_object_set_bus_irq out of stubs/ 2023-10-18 10:01:01 +02:00
message.c Remove qemu-common.h include from most units 2022-04-06 14:31:55 +02:00
mpqemu-link.c QIOChannel: Add flags on io_writev and introduce io_flush callback 2022-05-16 13:56:24 +01:00
proxy-memory-listener.c exec/memory: Add symbol for memory listener priority for device backend 2023-06-28 14:27:59 +02:00
proxy.c migration: simplify blockers 2023-10-20 08:51:41 +02:00
remote-obj.c Drop duplicate #include 2023-02-08 07:28:05 +01:00
trace-events hw/remote: Fix vfu_cfg trace offset format 2023-06-09 23:38:16 +03:00
trace.h multi-process: define MPQemuMsg format and transmission functions 2021-02-10 09:23:28 +00:00
vfio-user-obj-stub.c hw/remote: move stub vfu_object_set_bus_irq out of stubs/ 2023-10-18 10:01:01 +02:00
vfio-user-obj.c vfio-user: update comments 2023-06-07 10:21:16 -04:00