Skip to contentSkip to conversation

XBZRLE fixes

PATCH Juan Quintela 1 participant 1 message Feb 1, 2013 1 message not in the archive

lore
Share & tools
lore

Juan Quintela

author Reviewed-by
#1 lore raw
In reply to a message not in the archive
Quoted 16 lines · Orit Wasserman

Changes for V3:
Fix year in xbzrle.c copyright notice
Add copyright notice to test-xbzrle.c, use stack variable for 2 byte array and fix spacing.

This series add some testing to the XBZRLE compression and fixes the error in loading a guest from a compressed file with XBZRLE by allowing encoding of XBZRLE without activating it.

Orit Wasserman (5):
Move XBZRLE encoding code to a separate file to allow testing Add XBZRLE testing
Fix example for query-migrate-capabilities
Allow XBZRLE decoding without enabling the capability Fix error message in migrate_set_capability HMP command

Quoted 11 lines
 Makefile.objs       |   2 +-
 arch_init.c         |   3 -
 hmp.c               |   2 +-
 qmp-commands.hx     |   6 +-
 savevm.c            | 159 ------------------------------------------
 tests/Makefile      |   3 +
 tests/test-xbzrle.c | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 xbzrle.c            | 173 ++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 376 insertions(+), 168 deletions(-)
 create mode 100644 tests/test-xbzrle.c
 create mode 100644 xbzrle.c

Including series on migration pull.

Later, Juan.