mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
HostIOMMUDevice: Store the VFIO/VDPA agent
Store the agent device (VFIO or VDPA) in the host IOMMU device. This will allow easy access to some of its resources. 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
77f6efc0ab
commit
dc169694ca
3 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ struct HostIOMMUDevice {
|
|||
Object parent_obj;
|
||||
|
||||
char *name;
|
||||
void *agent; /* pointer to agent device, ie. VFIO or VDPA device */
|
||||
HostIOMMUDeviceCaps caps;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue