qemu/migration
Felipe Franciosi d693c6f10f 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>
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: Implement the process of failover for primary VM 2016-10-30 15:17:39 +05:30
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 add 'release-ram' migrate capability 2017-02-13 17:27:13 +00:00
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 dirty_pages_rate before 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