On Tue, Aug 14, 2018 at 06:19 PM +0200, John Ferlan <jferlan@xxxxxxxxxx> wrote: > On 08/07/2018 07:38 AM, Marc Hartmayer wrote: >> Semantically, there is no difference between an uninitialized worker >> pool and an initialized worker pool with zero workers. Let's allow the >> worker pool to be initialized for max_workers=0 as well then which >> makes the API more symmetric and simplifies code. Validity of the >> worker pool is delegated to virThreadPoolGetMaxWorkers instead. >> >> This patch fixes segmentation faults in >> virNetServerGetThreadPoolParameters and >> virNetServerSetThreadPoolParameters for the case when no worker pool >> is actually initialized (max_workers=0). >> >> Signed-off-by: Marc Hartmayer <mhartmay@xxxxxxxxxxxxx> >> --- >> src/rpc/virnetserver.c | 8 ++------ >> 1 file changed, 2 insertions(+), 6 deletions(-) >> > > Had to go refresh my memory on the previous series ;-)... > > Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx> > > John > > (and pushed) > Thanks :) -- Beste Grüße / Kind regards Marc Hartmayer IBM Deutschland Research & Development GmbH Vorsitzende des Aufsichtsrats: Martina Koederitz Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen Registergericht: Amtsgericht Stuttgart, HRB 243294 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list