]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONCheckError: Allow suppressing of error reporting
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 Mar 2020 10:08:58 +0000 (11:08 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 19 Mar 2020 08:57:46 +0000 (09:57 +0100)
commit103bfbfd74c91de2e31711b8444b89b5834718e2
treeda9f03ef86e6b7832e8654b25b7241132e2cbe5e
parentcda31f3dba6264922451cd799063652aca444f4e
qemuMonitorJSONCheckError: Allow suppressing of error reporting

In some cases we'll need to check whether there was an error but avoid
reporting an actual libvirt error. Rename qemuMonitorJSONCheckError to
qemuMonitorJSONCheckErrorFull with a new flag to suppress the error
reporting and add a wrapper with the original name so that callers don't
need to be fixed.

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