summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2014-03-27 15:01:48 +0000
committerJuan Quintela <quintela@redhat.com>2014-05-05 22:15:03 +0200
commite30d1d8c7195848abb28a8c734a82b845b8b456a (patch)
tree004856d6bbeb5e699d3572c676cd3adbe6d6b867 /vl.c
parent548f52ea06951c20f0b91cae6cde0512ec073c83 (diff)
downloadqemu-e30d1d8c7195848abb28a8c734a82b845b8b456a.tar.gz
Count used RAMBlock pages for migration_dirty_pages
This is a fix for a bug* triggered by a migration after hot unplugging a few virtio-net NICs, that caused migration never to converge, because 'migration_dirty_pages' is incorrectly initialised. 'migration_dirty_pages' is used as a tally of the number of outstanding dirty pages, to give the migration code an idea of how much more data will need to be transferred, and thus whether it can end the iterative phase. It was initialised to the total size of the RAMBlock address space, however hotunplug can leave this space sparse, and hence migration_dirty_pages ended up too large. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> (* https://bugzilla.redhat.com/show_bug.cgi?id=1074913 ) Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions