]> Git Repo - qemu.git/commit
migration: set bytes_xfer_* outside of autoconverge logic
authorFelipe Franciosi <[email protected]>
Wed, 24 May 2017 16:10:02 +0000 (17:10 +0100)
committerJuan Quintela <[email protected]>
Wed, 31 May 2017 07:39:20 +0000 (09:39 +0200)
commitd2a4d85a8a786e1e59fc631c34dd474752810463
treedf0627f3cf65336f2b2cb3625f02b391b7c2ac43
parentd693c6f10ff46c661b055288abae11deb6181a61
migration: set bytes_xfer_* outside of autoconverge logic

The bytes_xfer_now/prev counters are only used by the auto convergence
logic. However, they are used alongside the dirty_pages_rate counter,
which is calculated (and required) outside of this logic. The problem
with this approach is that if the auto convergence capability is changed
while a migration is ongoing, the relationship of the counters will be
broken.

This moves the management of bytes_xfer_now/prev counters outside of the
auto convergence logic to address this issue.

Signed-off-by: Felipe Franciosi <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/ram.c
This page took 0.024593 seconds and 4 git commands to generate.