[libvirt PATCH 0/5] Avoid deprecated commands for migration parameters

Jiri Denemark posted 5 patches 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1591813394.git.jdenemar@redhat.com
src/qemu/qemu_capabilities.c                  |  8 ++
src/qemu/qemu_capabilities.h                  |  5 +
src/qemu/qemu_driver.c                        | 92 +++++++++++++++----
src/qemu/qemu_migration.c                     | 53 +++++++++--
src/qemu/qemu_migration_params.c              |  3 +-
.../caps_2.10.0.aarch64.xml                   |  2 +
.../caps_2.10.0.ppc64.xml                     |  2 +
.../caps_2.10.0.s390x.xml                     |  2 +
.../caps_2.10.0.x86_64.xml                    |  2 +
.../caps_2.11.0.s390x.xml                     |  3 +
.../caps_2.11.0.x86_64.xml                    |  3 +
.../caps_2.12.0.aarch64.xml                   |  3 +
.../caps_2.12.0.ppc64.xml                     |  3 +
.../caps_2.12.0.s390x.xml                     |  3 +
.../caps_2.12.0.x86_64.xml                    |  3 +
.../qemucapabilitiesdata/caps_2.8.0.s390x.xml |  2 +
.../caps_2.8.0.x86_64.xml                     |  2 +
.../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  2 +
.../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  2 +
.../caps_2.9.0.x86_64.xml                     |  2 +
.../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  3 +
.../caps_3.0.0.riscv32.xml                    |  3 +
.../caps_3.0.0.riscv64.xml                    |  3 +
.../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  3 +
.../caps_3.0.0.x86_64.xml                     |  3 +
.../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  3 +
.../caps_3.1.0.x86_64.xml                     |  3 +
.../caps_4.0.0.aarch64.xml                    |  3 +
.../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  3 +
.../caps_4.0.0.riscv32.xml                    |  3 +
.../caps_4.0.0.riscv64.xml                    |  3 +
.../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  3 +
.../caps_4.0.0.x86_64.xml                     |  3 +
.../caps_4.1.0.x86_64.xml                     |  3 +
.../caps_4.2.0.aarch64.xml                    |  3 +
.../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  3 +
.../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  3 +
.../caps_4.2.0.x86_64.xml                     |  3 +
.../caps_5.0.0.aarch64.xml                    |  3 +
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  3 +
.../caps_5.0.0.riscv64.xml                    |  3 +
.../caps_5.0.0.x86_64.xml                     |  3 +
.../caps_5.1.0.x86_64.xml                     |  3 +
tests/qemumonitorjsontest.c                   |  6 +-
44 files changed, 240 insertions(+), 32 deletions(-)
[libvirt PATCH 0/5] Avoid deprecated commands for migration parameters
Posted by Jiri Denemark 3 years, 10 months ago
Jiri Denemark (5):
  qemu: Probe for a few params supported by migrate-set-parameters
  qemu: Avoid deprecated migrate_set_speed QMP command
  qemu: Avoid deprecated migrate_set_downtime QMP command
  qemu: Avoid deprecated query-migrate-cache-size QMP command
  qemu: Avoid deprecated migrate-set-cache-size QMP command

 src/qemu/qemu_capabilities.c                  |  8 ++
 src/qemu/qemu_capabilities.h                  |  5 +
 src/qemu/qemu_driver.c                        | 92 +++++++++++++++----
 src/qemu/qemu_migration.c                     | 53 +++++++++--
 src/qemu/qemu_migration_params.c              |  3 +-
 .../caps_2.10.0.aarch64.xml                   |  2 +
 .../caps_2.10.0.ppc64.xml                     |  2 +
 .../caps_2.10.0.s390x.xml                     |  2 +
 .../caps_2.10.0.x86_64.xml                    |  2 +
 .../caps_2.11.0.s390x.xml                     |  3 +
 .../caps_2.11.0.x86_64.xml                    |  3 +
 .../caps_2.12.0.aarch64.xml                   |  3 +
 .../caps_2.12.0.ppc64.xml                     |  3 +
 .../caps_2.12.0.s390x.xml                     |  3 +
 .../caps_2.12.0.x86_64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_2.8.0.s390x.xml |  2 +
 .../caps_2.8.0.x86_64.xml                     |  2 +
 .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  2 +
 .../qemucapabilitiesdata/caps_2.9.0.s390x.xml |  2 +
 .../caps_2.9.0.x86_64.xml                     |  2 +
 .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  3 +
 .../caps_3.0.0.riscv32.xml                    |  3 +
 .../caps_3.0.0.riscv64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_3.0.0.s390x.xml |  3 +
 .../caps_3.0.0.x86_64.xml                     |  3 +
 .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  3 +
 .../caps_3.1.0.x86_64.xml                     |  3 +
 .../caps_4.0.0.aarch64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  3 +
 .../caps_4.0.0.riscv32.xml                    |  3 +
 .../caps_4.0.0.riscv64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_4.0.0.s390x.xml |  3 +
 .../caps_4.0.0.x86_64.xml                     |  3 +
 .../caps_4.1.0.x86_64.xml                     |  3 +
 .../caps_4.2.0.aarch64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  3 +
 .../qemucapabilitiesdata/caps_4.2.0.s390x.xml |  3 +
 .../caps_4.2.0.x86_64.xml                     |  3 +
 .../caps_5.0.0.aarch64.xml                    |  3 +
 .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  3 +
 .../caps_5.0.0.riscv64.xml                    |  3 +
 .../caps_5.0.0.x86_64.xml                     |  3 +
 .../caps_5.1.0.x86_64.xml                     |  3 +
 tests/qemumonitorjsontest.c                   |  6 +-
 44 files changed, 240 insertions(+), 32 deletions(-)

-- 
2.27.0

Re: [libvirt PATCH 0/5] Avoid deprecated commands for migration parameters
Posted by Peter Krempa 3 years, 10 months ago
On Wed, Jun 10, 2020 at 20:24:26 +0200, Jiri Denemark wrote:
> Jiri Denemark (5):
>   qemu: Probe for a few params supported by migrate-set-parameters
>   qemu: Avoid deprecated migrate_set_speed QMP command
>   qemu: Avoid deprecated migrate_set_downtime QMP command
>   qemu: Avoid deprecated query-migrate-cache-size QMP command
>   qemu: Avoid deprecated migrate-set-cache-size QMP command

Series:

Reviewed-by: Peter Krempa <pkrempa@redhat.com>

provided that you add 'XBZRLE' to QEMU_CAPS_MIGRATION_PARAM_CACHE_SIZE
and it's status XML string.