mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
76dc3cf82c
commit
545e92e06a
2 changed files with 25 additions and 0 deletions
1
memory.h
1
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue