This feature can help to reduce the data transferred about 60%, and the migration time can also be reduced about 70%.
Summary of changed from v5->v6 -Changed the schema of qmp interface -Split the last patche in v5 into 3 patches -Added some comments of the new functions -Changed some places based on Juan's pathes --- arch_init.c | 506 ++++++++++++++++++++++++++++++++++++-- docs/multi-thread-compression.txt | 149 +++++++++++ hmp-commands.hx | 17 ++ hmp.c | 65 +++++ hmp.h | 4 + include/migration/migration.h | 10 + include/migration/qemu-file.h | 3 + migration/migration.c | 122 +++++++++ migration/qemu-file.c | 39 +++ monitor.c | 25 ++ qapi-schema.json | 79 +++++- qmp-commands.hx | 57 +++++ 12 files changed, 1053 insertions(+), 23 deletions(-) create mode 100644 docs/multi-thread-compression.txt -- 1.9.1