diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 19:58:48 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-12 08:31:29 -0500 |
commit | 545e92e06aa4f5eda46f4be2018a595d1adf66f8 (patch) | |
tree | 977ebfdbbbbac9ab8d84f3fc7d467be534e55a93 /memory.h | |
parent | 76dc3cf82c1fa4afc4b67f60318d90355ded8fb3 (diff) | |
download | qemu-545e92e06aa4f5eda46f4be2018a595d1adf66f8.zip qemu-545e92e06aa4f5eda46f4be2018a595d1adf66f8.tar.gz qemu-545e92e06aa4f5eda46f4be2018a595d1adf66f8.tar.bz2 |
memory: reclaim resources when a memory region is destroyed for good
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'memory.h')
-rw-r--r-- | memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |