qemu-e2k/migration
Balamuruhan S 650af8907b migration: calculate expected_downtime with ram_bytes_remaining()
expected_downtime value is not accurate with dirty_pages_rate * page_size,
using ram_bytes_remaining() would yeild it resonable.

consider to read the remaining ram just after having updated the dirty
pages count later migration_bitmap_sync_range() in migration_bitmap_sync()
and reuse the `remaining` field in ram_counters to hold ram_bytes_remaining()
for calculating expected_downtime.

Reported-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Balamuruhan S <bala24@linux.vnet.ibm.com>
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20180612085009.17594-2-bala24@linux.vnet.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2018-06-15 14:40:56 +01:00
..
block-dirty-bitmap.c migration/block-dirty-bitmap: fix dirty_bitmap_load 2018-06-15 14:40:56 +01:00
block.c
block.h
channel.c Migration+TLS: Fix crash due to double cleanup 2018-05-15 22:13:08 +02:00
channel.h
colo-comm.c
colo-failover.c
colo.c
exec.c migration: fix exec/fd migrations 2018-05-25 15:29:47 +02:00
exec.h
fd.c migration: fix exec/fd migrations 2018-05-25 15:29:47 +02:00
fd.h
global_state.c
Makefile.objs
migration.c migration: calculate expected_downtime with ram_bytes_remaining() 2018-06-15 14:40:56 +01:00
migration.h migration: Wake rate limiting for urgent requests 2018-06-15 14:40:56 +01:00
page_cache.c migration: use local path for local headers 2018-06-01 19:20:38 +03:00
page_cache.h
postcopy-ram.c migration: discard non-migratable RAMBlocks 2018-06-04 05:46:15 +02:00
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c
qemu-file.h
qjson.c
qjson.h typedefs: add QJSON 2018-06-15 14:40:56 +01:00
ram.c migration: calculate expected_downtime with ram_bytes_remaining() 2018-06-15 14:40:56 +01:00
ram.h
rdma.c migration: Fixes for non-migratable RAMBlocks 2018-06-15 14:40:56 +01:00
rdma.h
savevm.c migration/next for 20180604 2018-06-04 12:54:00 +01:00
savevm.h
socket.c
socket.h
tls.c
tls.h
trace-events migration: Wake rate limiting for urgent requests 2018-06-15 14:40:56 +01:00
vmstate-types.c
vmstate.c acpi, vhost, misc: fixes, features 2018-06-04 10:15:16 +01:00
xbzrle.c
xbzrle.h