]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.h
migration: introduce decompress-error-check
authorXiao Guangrong <xiaoguangrong@tencent.com>
Thu, 3 May 2018 08:06:11 +0000 (16:06 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 4 Jun 2018 03:46:15 +0000 (05:46 +0200)
commitf548222c24342ca74689de7794f9006b43f86a54
treee2828ca1ffae6910f2ddcfeac9a560f318e3903f
parent392fba9f583223786f844dce9b2e7f9a0ce0147a
migration: introduce decompress-error-check

QEMU 3.0 enables strict check for compression & decompression to
make the migration more robust, that depends on the source to fix
the internal design which triggers the unexpected error conditions

To make it work for migrating old version QEMU to 2.13 QEMU, we
introduce this parameter to disable the error check on the
destination which is the default behavior of the machine type
which is older than 2.13, alternately, the strict check can be
enabled explicitly as followings:
      -M pc-q35-2.11 -global migration.decompress-error-check=true

Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hw/arm/virt.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
include/hw/compat.h
migration/migration.c
migration/migration.h
migration/ram.c