diff mbox series

[v2,11/19] memory: Store user data pointer in the IOMMU notifiers

Message ID 20250120174033.308518-12-clement.mathieu--drif@eviden.com (mailing list archive)
State New
Headers show
Series intel_iommu: Add ATS support | expand

Commit Message

CLEMENT MATHIEU--DRIF Jan. 20, 2025, 5:41 p.m. UTC
From: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com>

This will help developers of svm devices to track a state

Signed-off-by: Clement Mathieu--Drif <clement.mathieu--drif@eviden.com>
---
 include/exec/memory.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 9889b97abb..468b003bf1 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -204,6 +204,7 @@  struct IOMMUNotifier {
     hwaddr start;
     hwaddr end;
     int iommu_idx;
+    void *opaque;
     QLIST_ENTRY(IOMMUNotifier) node;
 };
 typedef struct IOMMUNotifier IOMMUNotifier;