[pve-devel] [PATCH 0/5] Fix deprecated QMP commands and clean up

Stefan Reiter s.reiter at proxmox.com
Thu Feb 6 10:53:50 CET 2020


We were using some long deprecated QMP commands in our qemu-server module, most
of which can easily be replaced by their successors.

All of the changes are compatible down to QEMU 2.4[*] according to
docmentation, and since only QMP commands (no machine config) is affected, no
guarding is necessary throughout the series.

[*] potentially 2.8, I couldn't find if the 'id' parameter was introduced before
that - not that it matters much


qemu-server: Stefan Reiter (5):
  Remove unused $force parameter
  qmp: use 'blockdev-change-medium' instead of generic 'change'
  qmp: use 'id' parameter instead of 'device'
  qmp: use migrate-set-parameters in favor of deprecated options
  qmp: use query-cpus-fast for hotplug

 PVE/QemuMigrate.pm | 39 ++++++++++++++++++++-------------------
 PVE/QemuServer.pm  | 24 ++++++++++++++----------
 2 files changed, 34 insertions(+), 29 deletions(-)

-- 
2.20.1



More information about the pve-devel mailing list