mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 23:37:42 +00:00
qemu: caps: Remove pointless debug message in virQEMUCapsInitQMPMonitor
Failure of qemuMonitorGetVersion is fatal now that we only support QMP based qemus. Remove the debug message since we report an error already. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
c5c8618463
commit
de6049ccf4
@ -4325,13 +4325,8 @@ virQEMUCapsInitQMPMonitor(virQEMUCapsPtr qemuCaps,
|
|||||||
|
|
||||||
/* @mon is supposed to be locked by callee */
|
/* @mon is supposed to be locked by callee */
|
||||||
|
|
||||||
if (qemuMonitorGetVersion(mon,
|
if (qemuMonitorGetVersion(mon, &major, &minor, µ, &package) < 0)
|
||||||
&major, &minor, µ,
|
|
||||||
&package) < 0) {
|
|
||||||
VIR_DEBUG("Failed to query monitor version %s",
|
|
||||||
virGetLastErrorMessage());
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
VIR_DEBUG("Got version %d.%d.%d (%s)",
|
VIR_DEBUG("Got version %d.%d.%d (%s)",
|
||||||
major, minor, micro, NULLSTR(package));
|
major, minor, micro, NULLSTR(package));
|
||||||
|
Loading…
Reference in New Issue
Block a user