mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
3ad35d9158
commit
a95264191f
2 changed files with 8 additions and 2 deletions
|
@ -35,6 +35,8 @@ struct HostIOMMUDevice {
|
|||
|
||||
char *name;
|
||||
void *agent; /* pointer to agent device, ie. VFIO or VDPA device */
|
||||
PCIBus *aliased_bus;
|
||||
int aliased_devfn;
|
||||
HostIOMMUDeviceCaps caps;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue