qemu-e2k/migration
Felipe Franciosi d2a4d85a8a 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>
2017-05-31 09:39:20 +02:00
..
block.c migration: Remove vmstate.h from migration.h 2017-05-18 19:20:59 +02:00
channel.c migration: Export qemu-file-channel.c functions in its own file 2017-05-18 19:20:50 +02:00
channel.h migration: Split migration/channel.c for channel operations 2017-05-18 19:20:24 +02:00
colo-comm.c migration: Remove vmstate.h from migration.h 2017-05-18 19:20:59 +02:00
colo-failover.c
colo.c migration: Create savevm.h for functions exported from savevm.c 2017-05-31 09:39:19 +02:00
exec.c migration: Split migration/channel.c for channel operations 2017-05-18 19:20:24 +02:00
fd.c migration: Split migration/channel.c for channel operations 2017-05-18 19:20:24 +02:00
Makefile.objs migration: Make savevm.c target independent 2017-05-18 19:21:00 +02:00
migration.c migration: Create savevm.h for functions exported from savevm.c 2017-05-31 09:39:19 +02:00
page_cache.c migration: Move page_cache.c to migration/ 2017-05-17 12:04:59 +02:00
page_cache.h migration: Move page_cache.c to migration/ 2017-05-17 12:04:59 +02:00
postcopy-ram.c migration: Create savevm.h for functions exported from savevm.c 2017-05-31 09:39:19 +02:00
postcopy-ram.h migration: Move postcopy stuff to postcopy-ram.c 2017-05-17 12:04:59 +02:00
qemu-file-channel.c migration: Export qemu-file-channel.c functions in its own file 2017-05-18 19:20:50 +02:00
qemu-file-channel.h migration: Export qemu-file-channel.c functions in its own file 2017-05-18 19:20:50 +02:00
qemu-file.c
qjson.c migration: Move qjson.h to migration/ 2017-05-18 19:20:59 +02:00
qjson.h migration: Move qjson.h to migration/ 2017-05-18 19:20:59 +02:00
ram.c migration: set bytes_xfer_* outside of autoconverge logic 2017-05-31 09:39:20 +02:00
rdma.c migration: Export qemu-file-channel.c functions in its own file 2017-05-18 19:20:50 +02:00
savevm.c migration: Create savevm.h for functions exported from savevm.c 2017-05-31 09:39:19 +02:00
savevm.h migration: Create savevm.h for functions exported from savevm.c 2017-05-31 09:39:19 +02:00
socket.c migration: Split migration/channel.c for channel operations 2017-05-18 19:20:24 +02:00
tls.c migration: Split migration/channel.c for channel operations 2017-05-18 19:20:24 +02:00
trace-events migration: Extra tracing 2017-05-04 10:41:23 +02:00
vmstate-types.c migration: Split vmstate-types.c from vmstate.c 2017-05-18 19:20:59 +02:00
vmstate.c migration: Split vmstate-types.c from vmstate.c 2017-05-18 19:20:59 +02:00
xbzrle.c migration: Create migration/xbzrle.h 2017-05-18 18:04:54 +02:00
xbzrle.h migration: Create migration/xbzrle.h 2017-05-18 18:04:54 +02:00