Add means to turn multithread compression on during migration.
Add means to pass compression parameters in migration command.
Changes from v3
===============
1. HMP support is dropped.
2. Switch to a different implementation of setting migration parameters.
Version 3 sets all parameters when configuring migration compression.
If parameter is not specified explicitly it is set to hardcoded default
value. New version set only explicitly specified parameters instead.
This has some reproducibility drawbacks which are nevertheless could
be overcomed and this issue will be addressed in another series.
3. Unspecified values are presented by bitset fields rather then
specific values of parameters itself. This is a bit more tedious
implementation to use but if we take it we can pass all parameter
values checking to QEMU.
4. Misc minor changes on Jiri comments.
Eli Qiao (1):
qemumonitorjsontest: add test for getting multithread compress params
Nikolay Shirokovskiy (2):
migration: add compress method option
qemu: migration: add compression options
ShaoHe Feng (2):
qemu monitor: add multithread compress parameters accessors
virsh: add compression options for migration
include/libvirt/libvirt-domain.h | 44 +++++++
src/qemu/qemu_driver.c | 29 ++++-
src/qemu/qemu_migration.c | 246 ++++++++++++++++++++++++++++++++++-----
src/qemu/qemu_migration.h | 30 +++++
src/qemu/qemu_monitor.c | 24 +++-
src/qemu/qemu_monitor.h | 18 +++
src/qemu/qemu_monitor_json.c | 110 +++++++++++++++++
src/qemu/qemu_monitor_json.h | 5 +
tests/qemumonitorjsontest.c | 53 +++++++++
tools/virsh-domain.c | 83 +++++++++++++
tools/virsh.pod | 25 +++-
11 files changed, 628 insertions(+), 39 deletions(-)
--
1.8.3.1