]> xenbits.xensource.com Git - libvirt.git/commit
daemon: Raise an error if 'max_workers' < 1 in libvirtd.conf
authorMarc Hartmayer <mhartmay@linux.ibm.com>
Tue, 3 Jul 2018 11:37:36 +0000 (13:37 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 21 Jul 2018 11:46:45 +0000 (07:46 -0400)
commit71e4d4a2a19302c2b8a4c419f75f53e0544165e6
tree46d5bfb70686957b00950e3aa1a6d29f1158fc31
parent46d258d1fda80b2fe6c518c0dfa9794f38e307de
daemon: Raise an error if 'max_workers' < 1 in libvirtd.conf

Hypervisor drivers (e.g. QEMU) assume that they run in a separate
thread from the main event loop thread otherwise deadlocks can
occur. Therefore let's report an error if max_workers < 1 is set in
the libvirtd configuration file.

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/remote/remote_daemon_config.c