diff --git a/qemu/include/exec/memory.h b/qemu/include/exec/memory.h index 8231aa8f..ebbca270 100644 --- a/qemu/include/exec/memory.h +++ b/qemu/include/exec/memory.h @@ -147,6 +147,10 @@ struct MemoryRegionIOMMUOps { IOMMUTLBEntry (*translate)(MemoryRegion *iommu, hwaddr addr, bool is_write); /* Returns minimum supported page size */ uint64_t (*get_min_page_size)(MemoryRegion *iommu); + /* Called when the first notifier is set */ + void (*notify_started)(MemoryRegion *iommu); + /* Called when the last notifier is removed */ + void (*notify_stopped)(MemoryRegion *iommu); }; struct MemoryRegion {