]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: Don't warn about "max_client_requests" in single-threaded daemons
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Feb 2023 09:48:31 +0000 (10:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 15 Feb 2023 11:36:17 +0000 (12:36 +0100)
commitb3f8e072fe08a6beaf3ec3d27e02efee4358b2ca
treed543cb45a19144216aa157c2f76b7768f16538ad
parent761cb8a0876d32445951791030c77afa147c0de1
rpc: Don't warn about "max_client_requests" in single-threaded daemons

The warning about max_client_requests is hit inside virtlogd every time
a VM starts which spams the logs.

Emit the warning only when the client request limit is not 1 and add a
warning into the daemon config to not configure it too low instead.

Fixes: 031878c2364
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2145188
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/remote/libvirtd.conf.in
src/rpc/virnetserverclient.c