diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-22 17:42:01 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:40 +0200 |
commit | 66103a5796d0003cb198c25d783dcdc1596aef1f (patch) | |
tree | 08df831dbf28796819cee7bd5ab9413b02cede51 /exec.c | |
parent | b06424de62b362034e41ddf77eb8cfaa641d9009 (diff) |
ram: Remove migration_bitmap_extend()
We have disabled memory hotplug, so we don't need to handle
migration_bitamp there.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1758,7 +1758,6 @@ static void ram_block_add(RAMBlock *new_block, Error **errp) new_ram_size = MAX(old_ram_size, (new_block->offset + new_block->max_length) >> TARGET_PAGE_BITS); if (new_ram_size > old_ram_size) { - migration_bitmap_extend(old_ram_size, new_ram_size); dirty_memory_extend(old_ram_size, new_ram_size); } /* Keep the list sorted from biggest to smallest block. Unlike QTAILQ, |