Two patches related to compress:
1. simplify the check since compress QEMUFile is not writable
2. handle compress setup failure gracefully
Wei Yang (2):
migration/compress: compress QEMUFile is not writable
migration/compress: disable compress if failed to setup
migration/migration.c | 9 +++++++++
migration/migration.h | 1 +
migration/qemu-file.c | 16 +++-------------
migration/ram.c | 15 ++++++++-------
4 files changed, 21 insertions(+), 20 deletions(-)
--
2.17.1