]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
daemon: Drop log level of VIR_ERR_NO_SUPPORT to debug
authorPeter Krempa <pkrempa@redhat.com>
Tue, 26 Aug 2025 11:57:42 +0000 (13:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 28 Aug 2025 06:42:05 +0000 (08:42 +0200)
The error code signals that the API the user called is not supported by
the driver. This can happen with some hypervisor drivers which don't
have everything implemented yet. There's no point in spamming the log
with it.

Closes: https://gitlab.com/libvirt/libvirt/-/issues/805
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/remote/remote_daemon.c

index 1424d4cf5e188a3de32b187cb41306885f1abbb3..2973813548d9a65acd7c624eb82c6be8b66dad6e 100644 (file)
@@ -108,6 +108,7 @@ static int daemonErrorLogFilter(virErrorPtr err, int priority)
     case VIR_ERR_NO_CLIENT:
     case VIR_ERR_NO_HOSTNAME:
     case VIR_ERR_NO_NETWORK_METADATA:
+    case VIR_ERR_NO_SUPPORT:
         return VIR_LOG_DEBUG;
     }