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:
Alex Williamson 2010-06-25 11:08:38 -06:00 committed by Anthony Liguori
parent f292787d9a
commit d17b5288d9
3 changed files with 30 additions and 13 deletions

View file

@ -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;