]> git.proxmox.com Git - qemu.git/blobdiff - memory.h
memory: reclaim resources when a memory region is destroyed for good
[qemu.git] / memory.h
index da00a3b0df85974f31b414475552424ee7f16131..c9252a245ddf6d6f8ec88a1c5a3207a559c499c3 100644 (file)
--- a/memory.h
+++ b/memory.h
@@ -109,6 +109,7 @@ struct MemoryRegion {
     target_phys_addr_t addr;
     target_phys_addr_t offset;
     bool backend_registered;
+    void (*destructor)(MemoryRegion *mr);
     ram_addr_t ram_addr;
     IORange iorange;
     bool terminates;