mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
qemu_ram_free: Implement it
Now that we can support a ram_addr_t space with holes, we can implement qemu_ram_free(). Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
a55bbe3187
commit
04b1665372
2 changed files with 61 additions and 4 deletions
|
@ -867,6 +867,9 @@ typedef struct RAMBlock {
|
|||
ram_addr_t length;
|
||||
char idstr[256];
|
||||
QLIST_ENTRY(RAMBlock) next;
|
||||
#if defined(__linux__) && !defined(TARGET_S390X)
|
||||
int fd;
|
||||
#endif
|
||||
} RAMBlock;
|
||||
|
||||
typedef struct RAMList {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue