diff --git a/include/exec/memory.h b/include/exec/memory.h index 296d6ab2f481993aad79f1c78f757ca0bd7d1d8c..9101fc3a55a4e87d6bf6e7edc80004295f064e0b 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -163,8 +163,6 @@ struct MemoryRegion { NotifierList iommu_notify; }; -typedef struct MemoryListener MemoryListener; - /** * MemoryListener: callbacks structure for updates to the physical memory map * diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 45244960b59d7c67d48b88179499ea554a78fb5f..5b4e333fc137def1bf604985587bcc115b3e967f 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -26,6 +26,7 @@ typedef struct BusClass BusClass; typedef struct AddressSpace AddressSpace; typedef struct MemoryRegion MemoryRegion; typedef struct MemoryRegionSection MemoryRegionSection; +typedef struct MemoryListener MemoryListener; typedef struct MemoryMappingList MemoryMappingList;