qemu-e2k/migration
Alexey Perevalov 575b0b332e migration: calculate vCPU blocktime on dst side
This patch provides blocktime calculation per vCPU,
as a summary and as a overlapped value for all vCPUs.

This approach was suggested by Peter Xu, as an improvements of
previous approch where QEMU kept tree with faulted page address and cpus bitmask
in it. Now QEMU is keeping array with faulted page address as value and vCPU
as index. It helps to find proper vCPU at UFFD_COPY time. Also it keeps
list for blocktime per vCPU (could be traced with page_fault_addr)

Blocktime will not calculated if postcopy_blocktime field of
MigrationIncomingState wasn't initialized.

Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1521742647-25550-4-git-send-email-a.perevalov@samsung.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2018-04-25 18:02:13 +01:00
..
block-dirty-bitmap.c migration: add postcopy migration of dirty bitmaps 2018-03-13 17:06:09 -04:00
block.c migration/block: compare only read blocks against the rate limiter 2018-03-23 16:45:18 +00:00
block.h
channel.c
channel.h
colo-comm.c
colo-failover.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
colo.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
exec.c
exec.h
fd.c
fd.h
global_state.c
Makefile.objs migration: add postcopy migration of dirty bitmaps 2018-03-13 17:06:09 -04:00
migration.c migration: introduce postcopy-blocktime capability 2018-04-25 18:02:12 +01:00
migration.h migration: add postcopy blocktime ctx into MigrationIncomingState 2018-04-25 18:02:12 +01:00
page_cache.c
page_cache.h
postcopy-ram.c migration: calculate vCPU blocktime on dst side 2018-04-25 18:02:13 +01:00
postcopy-ram.h vhost+postcopy: Wire up POSTCOPY_END notify 2018-03-20 16:40:37 +02:00
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c migration: Fix rate limiting issue on RDMA migration 2018-03-23 16:37:15 +00:00
qemu-file.h migration/qemu-file: add qemu_put_counted_string() 2018-03-13 17:05:55 -04:00
qjson.c
qjson.h
ram.c virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
ram.h migration/ram: ramblock_recv_bitmap_test_byte_offset 2018-03-20 05:03:28 +02:00
rdma.c
rdma.h
savevm.c virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
savevm.h migration: introduce postcopy-only pending 2018-03-13 17:05:41 -04:00
socket.c migration: convert socket server to QIONetListener 2018-03-23 16:27:24 +00:00
socket.h
tls.c qio: non-default context for TLS handshake 2018-03-06 10:19:07 +00:00
tls.h
trace-events migration: calculate vCPU blocktime on dst side 2018-04-25 18:02:13 +01:00
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h