From nobody Sun Feb 8 05:53:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654867557; cv=none; d=zohomail.com; s=zohoarc; b=nwha5n+kh+JoP0ePndvtrvUsAEDUZ56NVeWwi7kOg8iWfvx6l3DPQ+AbjD1bgRZ2w+V8CpjteKwt61hO1pezF/oy+fGE+OJYP3rK6dwDN9GD4c0c8jymDK3rJtTykH1sgJVFCIe6RM+hywYGmROmY5uXiM3GDjK5aJTGDisL3U0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654867557; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YQnKteHGh2dX4rwf8A/MCJ0u4xZ4iKuNeNGzTHmIbwM=; b=a0ntfd4mfJOP82awB9+Xb/9uXWbx9HuYl9ygSWfmJ//bO8KQf0+OR79K2rbXn+QOGbXWnWpAnG9c+1ZOFKtoTvYLEOoRHOqMXFZKjMPpO1BMEozX42HFBRsSVRjtlhmrVbtxiNtB7cShwexfQW7VkyCalaMNDppgm1JVxFezC0s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1654867557375377.5238780914549; Fri, 10 Jun 2022 06:25:57 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-572-9PxLqYWoPuKuOAWIl2jKyw-1; Fri, 10 Jun 2022 09:25:54 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4D389858F11; Fri, 10 Jun 2022 13:25:52 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BE1F317452; Fri, 10 Jun 2022 13:25:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 54F9D194704E; Fri, 10 Jun 2022 13:25:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C52EE1947059 for ; Fri, 10 Jun 2022 13:25:48 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 960981410DDB; Fri, 10 Jun 2022 13:25:48 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.40.192.57]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D2661400E75 for ; Fri, 10 Jun 2022 13:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654867556; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YQnKteHGh2dX4rwf8A/MCJ0u4xZ4iKuNeNGzTHmIbwM=; b=GjFToJbUXLd2b62FOvp/xuRmL5Z/GMYO7R0iaVWlQj5RPpEmLFvtnoEkzjU325AK5ZuEuG ypsPP565ReViXIuQFDciQFjL+ZeibeQeNXEh1SPs20e8XbjJcTGz0H1UxDt/ufHlPtnxr6 f84V2+Ty35uLcA2atLS5t9A2G/e/PgI= X-MC-Unique: 9PxLqYWoPuKuOAWIl2jKyw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] qemu: virtiofs: format --thread-pool-size Date: Fri, 10 Jun 2022 15:25:44 +0200 Message-Id: <8fd3a20f2e5c24cb98f7a349d54896609c433b16.1654867527.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1654867558610100002 https://bugzilla.redhat.com/show_bug.cgi?id=3D2079582 Signed-off-by: J=C3=A1n Tomko --- src/qemu/qemu_virtiofs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qemu/qemu_virtiofs.c b/src/qemu/qemu_virtiofs.c index 7e3324b017..ce55286ab5 100644 --- a/src/qemu/qemu_virtiofs.c +++ b/src/qemu/qemu_virtiofs.c @@ -163,6 +163,10 @@ qemuVirtioFSBuildCommandLine(virQEMUDriverConfig *cfg, virBufferAddLit(&opts, ",no_posix_lock"); =20 virCommandAddArgBuffer(cmd, &opts); + + if (fs->thread_pool_size >=3D 0) + virCommandAddArgFormat(cmd, "--thread-pool-size=3D%i", fs->thread_= pool_size); + if (cfg->virtiofsdDebug) virCommandAddArg(cmd, "-d"); =20 --=20 2.35.1