]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: remove support for query-cpus
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Aug 2022 15:15:07 +0000 (17:15 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 8 Aug 2022 15:36:49 +0000 (17:36 +0200)
commitb1f57ef0fdfbae2c32eb6ad39641a9c3f38c5bbc
treeacc60bd0b30399f9d6a84fe9cb8a378c999d7214
parentcf1c19115520157d9abc0426e4014346a37b31a8
qemu: remove support for query-cpus

The query-cpus-fast command was introduced in 2.12, therefore
query-cpus is never used on supported versions of QEMU.  Remove
the logic to parse its output, as well as the parameters to
choose between the two commands.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c