qemu-e2k/migration
Dr. David Alan Gilbert 3748fef9b9 migration/postcopy: Recognise the recovery states as 'in_postcopy'
Various parts of the migration code do different things when they're
in postcopy mode; prior to this patch this has been 'postcopy-active'.
This patch extends 'in_postcopy' to include 'postcopy-paused' and
'postcopy-recover'.

In particular, when you set the max-postcopy-bandwidth parameter, this
only affects the current migration fd if we're 'in_postcopy';
this leads to a race in the postcopy recovery test where it increases
the speed from 4k/sec to unlimited, but that increase can get ignored
if the change is made between the point at which the reconnection
happens and it transitions back to active.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190923174942.12182-1-dgilbert@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2019-09-25 15:51:19 +01:00
..
block-dirty-bitmap.c migration: register_savevm_live doesn't need dev 2019-09-12 11:15:03 +01:00
block.c block: Remove unused masks 2019-09-16 14:48:30 +02:00
block.h
channel.c
channel.h
colo-failover.c
colo.c
exec.c
exec.h
fd.c
fd.h
global_state.c
Makefile.objs
migration.c migration/postcopy: Recognise the recovery states as 'in_postcopy' 2019-09-25 15:51:19 +01:00
migration.h migration: Add validate-uuid capability 2019-09-12 11:19:23 +01:00
page_cache.c
page_cache.h
postcopy-ram.c
postcopy-ram.h
qemu-file-channel.c
qemu-file-channel.h
qemu-file.c migration/qemu-file: fix potential buf waste for extra buf_index adjustment 2019-09-12 11:23:32 +01:00
qemu-file.h
qjson.c
qjson.h migration: fix vmdesc leak on vmstate_save() error 2019-09-25 15:51:19 +01:00
ram.c migration: remove sent parameter in get_queued_page_not_dirty 2019-09-25 15:51:19 +01:00
ram.h
rdma.c migration/rdma.c: Swap synchronize_rcu for call_rcu 2019-09-25 15:51:19 +01:00
rdma.h
savevm.c migration: fix vmdesc leak on vmstate_save() error 2019-09-25 15:51:19 +01:00
savevm.h
socket.c
socket.h
tls.c
tls.h
trace-events migration: remove sent parameter in get_queued_page_not_dirty 2019-09-25 15:51:19 +01:00
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h