aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCLEMENT MATHIEU--DRIF <clement.mathieu--drif@eviden.com>2025-05-20 07:19:00 +0000
committerMichael S. Tsirkin <mst@redhat.com>2025-06-01 06:38:53 -0400
commit7e94e45296d68982d448ae57e195efcf8f66649e (patch)
tree523cd4642fa32e3a9b360ed4b2d62c5993f6ec8f
parent042cbc9aec7caca639dcb1a8a996406a7c572706 (diff)
downloadqemu-7e94e45296d68982d448ae57e195efcf8f66649e.zip
qemu-7e94e45296d68982d448ae57e195efcf8f66649e.tar.gz
qemu-7e94e45296d68982d448ae57e195efcf8f66649e.tar.bz2
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>
-rw-r--r--include/system/memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/system/memory.h b/include/system/memory.h
index fbbf4cf..fc35a0d 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;