mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Remove uses of ram.last_offset (aka last_ram_offset)
We currently need this either to allocate the next ram_addr_t for a new block, or for total memory to be migrated. Both of which we can calculate without need of this to keep us in a contiguous address space. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f292787d9a
commit
d17b5288d9
3 changed files with 30 additions and 13 deletions
|
@ -870,7 +870,6 @@ typedef struct RAMBlock {
|
|||
|
||||
typedef struct RAMList {
|
||||
uint8_t *phys_dirty;
|
||||
ram_addr_t last_offset;
|
||||
QLIST_HEAD(ram, RAMBlock) blocks;
|
||||
} RAMList;
|
||||
extern RAMList ram_list;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue