HostIOMMUDevice: Store the aliased bus and devfn
authorEric Auger <eric.auger@redhat.com>
Fri, 14 Jun 2024 09:52:54 +0000 (11:52 +0200)
committerCédric Le Goater <clg@redhat.com>
Mon, 24 Jun 2024 21:15:30 +0000 (23:15 +0200)
commita95264191f10173e27b175ebc4a487520a523d62
treedd4d55544e95d8c9d334c7765bf50447a86cf5c7
parent3ad35d9158bde0500aeaea4147345d39ad0ae1c0
HostIOMMUDevice: Store the aliased bus and devfn

Store the aliased bus and devfn in the HostIOMMUDevice.
This will be useful to handle info that are iommu group
specific and not device specific (such as reserved
iova ranges).

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
include/sysemu/host_iommu_device.h