diff options
| author | Felipe Franciosi | 2017-05-24 18:10:02 +0200 |
|---|---|---|
| committer | Juan Quintela | 2017-05-31 09:39:20 +0200 |
| commit | d2a4d85a8a786e1e59fc631c34dd474752810463 (patch) | |
| tree | df0627f3cf65336f2b2cb3625f02b391b7c2ac43 /include | |
| parent | migration: set dirty_pages_rate before autoconverge logic (diff) | |
| download | qemu-d2a4d85a8a786e1e59fc631c34dd474752810463.tar.gz qemu-d2a4d85a8a786e1e59fc631c34dd474752810463.tar.xz qemu-d2a4d85a8a786e1e59fc631c34dd474752810463.zip | |
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 <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')
0 files changed, 0 insertions, 0 deletions
