diff options
| author | Felipe Franciosi <felipe@nutanix.com> | 2017-05-24 17:10:02 +0100 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2017-05-31 09:39:20 +0200 |
| commit | d2a4d85a8a786e1e59fc631c34dd474752810463 (patch) | |
| tree | df0627f3cf65336f2b2cb3625f02b391b7c2ac43 /hw/core/qdev-properties.c | |
| parent | d693c6f10ff46c661b055288abae11deb6181a61 (diff) | |
| download | focaccia-qemu-d2a4d85a8a786e1e59fc631c34dd474752810463.tar.gz focaccia-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 'hw/core/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions