mbox series

[0/2] migration/compress: refine the compress case

Message ID 20191012023932.1863-1-richardw.yang@linux.intel.com (mailing list archive)
Headers show
Series migration/compress: refine the compress case | expand

Message

Wei Yang Oct. 12, 2019, 2:39 a.m. UTC
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(-)