]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: More strict checking of 'query-cpus' if hotplug is supported
authorPeter Krempa <pkrempa@redhat.com>
Sun, 4 Dec 2016 17:53:03 +0000 (18:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Jan 2017 08:57:06 +0000 (09:57 +0100)
commit5cd670fea8d100e07d47cf26fa301e60b0e7ef3c
treef2cd40eff5ffca8075a316f327aa9bf2eb7ffbbe
parent35296ad4a79d4d99b94ec2125dd0d49f1e3534f7
qemu: monitor: More strict checking of 'query-cpus' if hotplug is supported

In cases where CPU hotplug is supported by qemu force the monitor to
reject invalid or broken responses to 'query-cpus'. It's expected that
the command returns usable data in such case.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c