[libvirt] [PATCH 0/2] [for-5.7.0] qemu: Honor qemu's request to use all vCPU props

Peter Krempa pkrempa at redhat.com
Thu Aug 29 13:45:15 UTC 2019


qemu documents that we should pass in all fields of
'CpuInstanceProperties' back when hotplugging cpus, but we didn't do
that. It turns out that qemu wanted to add new fields which were
mandatory and thus broke the interop with libvirt.

Let's honor their reques.

Peter Krempa (2):
  qemu: Extract and store vCPU properties as qemu returned them
  qemu: command: Use all vCPU properties when creating args for vCPU
    hotplug

 src/qemu/qemu_command.c                       | 19 +++----------------
 src/qemu/qemu_domain.c                        |  3 +++
 src/qemu/qemu_domain.h                        |  3 +++
 src/qemu/qemu_monitor.c                       |  2 ++
 src/qemu/qemu_monitor.h                       |  6 ++++++
 src/qemu/qemu_monitor_json.c                  |  4 ++++
 .../x86-modern-bulk-monitor.json              |  8 ++++----
 .../x86-modern-individual-add-monitor.json    |  4 ++--
 8 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list