diff options
| author | CLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com> | 2025-05-20 07:19:00 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-06-01 06:38:53 -0400 |
| commit | 7e94e45296d68982d448ae57e195efcf8f66649e (patch) | |
| tree | 523cd4642fa32e3a9b360ed4b2d62c5993f6ec8f /include | |
| parent | 042cbc9aec7caca639dcb1a8a996406a7c572706 (diff) | |
| download | focaccia-qemu-7e94e45296d68982d448ae57e195efcf8f66649e.tar.gz focaccia-qemu-7e94e45296d68982d448ae57e195efcf8f66649e.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/system/memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system/memory.h b/include/system/memory.h index fbbf4cf911..fc35a0dcad 100644 --- a/include/system/memory.h +++ b/include/system/memory.h @@ -183,6 +183,7 @@ struct IOMMUNotifier { hwaddr start; hwaddr end; int iommu_idx; + void *opaque; QLIST_ENTRY(IOMMUNotifier) node; }; typedef struct IOMMUNotifier IOMMUNotifier; |