[libvirt] [PATCH 1/4] rpc: Don't mix max_clients and max_workers in PostExecRestart

Martin Kletzander mkletzan at redhat.com
Wed May 13 12:14:13 UTC 2015


This only affected the servers that re-exec themselves, which is only
virtlockd and it didn't do any mess, so this is mostly a clenaup.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 src/rpc/virnetserver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
index 47d83ba..b061275 100644
--- a/src/rpc/virnetserver.c
+++ b/src/rpc/virnetserver.c
@@ -484,7 +484,7 @@ virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
         goto error;
     }

-    if (!(srv = virNetServerNew(min_workers, max_clients,
+    if (!(srv = virNetServerNew(min_workers, max_workers,
                                 priority_workers, max_clients,
                                 max_anonymous_clients,
                                 keepaliveInterval, keepaliveCount,
-- 
2.4.0




More information about the libvir-list mailing list