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 v6->v7 -Change the core code of compression and decompression --- arch_init.c | 502 ++++++++++++++++++++++++++++++++++++++++-- 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 +++++ 11 files changed, 900 insertions(+), 23 deletions(-) -- 1.9.1