summary refs log tree commit diff stats
path: root/include/hw/pci/pci.h
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-06-05 16:30:38 +0800
committerCédric Le Goater <clg@redhat.com>2024-06-24 23:15:30 +0200
commit6c8ed5fea1ff60167736d530e39f3903a826df20 (patch)
treef63bf3c0309c4385dfa2efb9005937c1925dd4fc /include/hw/pci/pci.h
parenta7fd91b876fe788c7401120c8eefe5c91b6f17c3 (diff)
downloadfocaccia-qemu-6c8ed5fea1ff60167736d530e39f3903a826df20.tar.gz
focaccia-qemu-6c8ed5fea1ff60167736d530e39f3903a826df20.zip
hw/pci: Introduce helper function pci_device_get_iommu_bus_devfn()
Extract out pci_device_get_iommu_bus_devfn() from
pci_device_iommu_address_space() to facilitate
implementation of pci_device_[set|unset]_iommu_device()
in following patch.

No functional change intended.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci/pci.h')
0 files changed, 0 insertions, 0 deletions