summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorFelipe Franciosi2017-05-24 18:10:01 +0200
committerJuan Quintela2017-05-31 09:39:20 +0200
commitd693c6f10ff46c661b055288abae11deb6181a61 (patch)
tree212bcc60192db98f33cc71d3c1eb4abbe040dc74 /include/exec
parentmigration: keep bytes_xfer_prev init'd to zero (diff)
downloadqemu-d693c6f10ff46c661b055288abae11deb6181a61.tar.gz
qemu-d693c6f10ff46c661b055288abae11deb6181a61.tar.xz
qemu-d693c6f10ff46c661b055288abae11deb6181a61.zip
migration: set dirty_pages_rate before autoconverge logic
Currently, a "period" in the RAM migration logic is at least a second long and accounts for what happened since the last period (or the beginning of the migration). The dirty_pages_rate counter is calculated at the end this logic. If the auto convergence capability is enabled from the start of the migration, it won't be able to use this counter the first time around. This calculates dirty_pages_rate as soon as a period is deemed over, which allows for it to be used immediately. Signed-off-by: Felipe Franciosi <felipe@nutanix.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions