]> git.ipfire.org Git - thirdparty/libvirt.git/commit
daemon: Treat logging of VIR_ERR_MULTIPLE_INTERFACES same as VIR_ERR_NO_INTERFACE
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Aug 2023 08:05:57 +0000 (10:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 4 Aug 2023 08:04:21 +0000 (10:04 +0200)
commit3a45a4d78c820c79e664ccfcba0153e5336a5c59
treeaad9c0435dbaa2724a2f11b55fe03d4ef6f59638
parent2b63b64ad91f51e42db2fb903fc79f3a0cf6d5db
daemon: Treat logging of VIR_ERR_MULTIPLE_INTERFACES same as VIR_ERR_NO_INTERFACE

When a query for an interface via virInterfaceLookupByMACString finds
multiple interfaces an error is returned. Treat such error with the same
'debug' priority as we treat when the interface was not found to avoid
spamming logs with such configurations.

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