]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virThreadPool: Prevent switching between zero and non-zero maxWorkers
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Tue, 3 Jul 2018 11:37:35 +0000 (13:37 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 21 Jul 2018 11:46:45 +0000 (07:46 -0400)
commit46d258d1fda80b2fe6c518c0dfa9794f38e307de
treef8bfcbf35e8a4b064e799e789b9df824a105d030
parent45e00c7f2d9094de8ac90ea24b3638ca514013fb
virThreadPool: Prevent switching between zero and non-zero maxWorkers

...since maxWorkers=0 is only intended for virtlockd or virlogd which
must not be multithreaded.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/virthreadpool.c