Hi this includes the reviewed patches for migration: - update docs (dave) - fixes for blocktime (text cleatups) (dave) - migration+tls (dave) - rdma index fix (lidong) - Postcopy recovery (peterx) - Parts reviewed of multifd and tests (me)
There are missing parts of RDMA, will be sent after this is in. This got already too big. Please, apply. The following changes since commit e5cd695266c5709308aa95b1baae499e4b5d4544: Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (2018-05-08 17:05:58 +0100) are available in the Git repository at: git://github.com/juanquintela/qemu.git tags/migration/20180509 for you to fetch changes up to c14eb5ac63b0d2cd146ca004daaeaf56677b7ed1: Migration+TLS: Fix crash due to double cleanup (2018-05-09 12:17:22 +0200) ---------------------------------------------------------------- migration/next for 20180509 ---------------------------------------------------------------- Dr. David Alan Gilbert (3): migration: update docs migration: Textual fixups for blocktime Migration+TLS: Fix crash due to double cleanup Juan Quintela (12): tests: Add migration precopy test tests: Add migration xbzrle test tests: Migration ppc now inlines its program migration: Set error state in case of error migration: Introduce multifd_recv_new_channel() migration: terminate_* can be called for other threads migration: Be sure all recv channels are created migration: Export functions to create send channels migration: Create multifd channels migration: Delay start of migration main routines migration: Transmit initial package through the multifd channels migration: Define MultifdRecvParams sooner Lidong Chen (1): migration: update index field when delete or qsort RDMALocalBlock Peter Xu (24): migration: let incoming side use thread context migration: new postcopy-pause state migration: implement "postcopy-pause" src logic migration: allow dst vm pause on postcopy migration: allow src return path to pause migration: allow fault thread to pause qmp: hmp: add migrate "resume" option migration: rebuild channel on source migration: new state "postcopy-recover" migration: wakeup dst ram-load-thread for recover migration: new cmd MIG_CMD_RECV_BITMAP migration: new message MIG_RP_MSG_RECV_BITMAP migration: new cmd MIG_CMD_POSTCOPY_RESUME migration: new message MIG_RP_MSG_RESUME_ACK migration: introduce SaveVMHandlers.resume_prepare migration: synchronize dirty bitmap for resume migration: setup ramstate for resume migration: final handshake for the resume migration: init dst in migration_object_init too qmp/migration: new command migrate-recover hmp/migration: add migrate_recover command migration: introduce lock for to_dst_file migration/qmp: add command migrate-pause migration/hmp: add migrate_pause command Xiao Guangrong (1): migration: fix saving normal page even if it's been compressed docs/devel/migration.rst | 532 ++++++++++++++++++++++++++++------------ hmp-commands.hx | 34 ++- hmp.c | 23 +- hmp.h | 2 + include/migration/register.h | 2 + migration/channel.c | 12 +- migration/exec.c | 9 +- migration/fd.c | 9 +- migration/migration.c | 559 +++++++++++++++++++++++++++++++++++++++---- migration/migration.h | 22 ++ migration/postcopy-ram.c | 54 ++++- migration/ram.c | 500 +++++++++++++++++++++++++++++++++++--- migration/ram.h | 6 + migration/rdma.c | 7 + migration/savevm.c | 191 ++++++++++++++- migration/savevm.h | 3 + migration/socket.c | 39 ++- migration/socket.h | 7 + migration/trace-events | 21 ++ qapi/migration.json | 57 ++++- tests/migration-test.c | 149 +++++++++--- 21 files changed, 1928 insertions(+), 310 deletions(-)