mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
memory: Store user data pointer in the IOMMU notifiers
This will help developers of ATS-capable devices to track a state. Signed-off-by: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com> Message-Id: <20250520071823.764266-9-clement.mathieu--drif@eviden.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
042cbc9aec
commit
7e94e45296
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ struct IOMMUNotifier {
|
||||||
hwaddr start;
|
hwaddr start;
|
||||||
hwaddr end;
|
hwaddr end;
|
||||||
int iommu_idx;
|
int iommu_idx;
|
||||||
|
void *opaque;
|
||||||
QLIST_ENTRY(IOMMUNotifier) node;
|
QLIST_ENTRY(IOMMUNotifier) node;
|
||||||
};
|
};
|
||||||
typedef struct IOMMUNotifier IOMMUNotifier;
|
typedef struct IOMMUNotifier IOMMUNotifier;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue