On Fri, Sep 04, 2020 at 04:37:06PM +0200, Ján Tomko wrote:
virResetLastError clears the thread-local error structure, but it has
no
power to remove the error from the log. It mostly should not be used
outside of public APIs where it makes sure we don't leave an error
from a previous API invocation there.
Reporting harmless errors confuses users and we have made changes in the
past specifically to suppress harmless errors when libvirt is run
in a container.
Like this?
https://www.redhat.com/archives/libvir-list/2020-September/msg00311.html