From: Peter Krempa <pkre...@redhat.com>

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 <pkre...@redhat.com>
---
 src/remote/remote_daemon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c
index 1424d4cf5e..2973813548 100644
--- a/src/remote/remote_daemon.c
+++ b/src/remote/remote_daemon.c
@@ -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;
     }

-- 
2.51.0

Reply via email to