]> xenbits.xensource.com Git - libvirt.git/commit
qemuMonitorJSONGetCPUx86Data: Don't fail on ancient qemus
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Nov 2013 14:42:28 +0000 (15:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Nov 2013 15:28:16 +0000 (16:28 +0100)
commit730af8f2cd7bc0e4c98b97200857909f42ea817f
tree35572ba4a2224734ebf5eb35f22422db9770a853
parent8229e33adc3d8ed71a3d5864fd10cce2ec6895a6
qemuMonitorJSONGetCPUx86Data: Don't fail on ancient qemus

On the domain startup, this function is called to dump some info about
the CPUs. At the beginning of the function we check if we aren't running
older qemu which is not exposing the CPUs via 'qom-list'. However, we
are not checking for even older qemus, which throw 'CommandNotFound'
error.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_monitor_json.c