From nobody Tue Apr 23 05:29:58 2024 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=1619172378; cv=none; d=zohomail.com; s=zohoarc; b=Ji9T1+jd3SccMhF1OCa2uTJHRQy1o5khYGZZP9YL0iRxsT/rP7CouLx95etudxSbt6OgdrMqjHNcdNZ9NtF+R+x0fm2f1fVOnTdt5X7lhY1AdfzpP85OdpiJhJRNdQrfeoBtsKt4u0aHBqzGEzEsTA1hKqbslqlQOGFRGNxxj64= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619172378; 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=hZL3MHXhdRXKFcWVmnSisjGqSivGGZablnKFGRSOHRE=; b=MMTemv6A6W328EEfyiu4UpQFSZ+gpS0EX0AGng09vAmHh1QM61hD6yArPM3o0ojmKLRChXwcCVoPXryxXcDb6HRK/cc4bsikT6JQXUp5xgHPgpkiC6PkND3XqTBftZ+1ytdyLBx2tn7/Bcf5IeBfK/lyRcy2Y/kCF2WqDeF6z+0= 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) header.from= 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 1619172378491884.4129593060383; Fri, 23 Apr 2021 03:06:18 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-126--xeZ6Y3ePLCcZj6vtB8G8Q-1; Fri, 23 Apr 2021 06:06:14 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0FED5343A4; Fri, 23 Apr 2021 10:06:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 10C483A47; Fri, 23 Apr 2021 10:06:08 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2879144A5B; Fri, 23 Apr 2021 10:06:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13NA3PW8000951 for ; Fri, 23 Apr 2021 06:03:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id B118C1349A; Fri, 23 Apr 2021 10:03:25 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2A636690F3 for ; Fri, 23 Apr 2021 10:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619172377; 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=hZL3MHXhdRXKFcWVmnSisjGqSivGGZablnKFGRSOHRE=; b=Ng7KlSaKiVKTZrd9DN/X0KlEth1yZTzJDdg6qUPq85FxV6Nbd8N/zX6PdMZOz+o2BShzUd Jy/SwTK/k+k6MGPP74fxeDOCKWSdle+Hpstd8sXFv4GP0MHl3FOg3C9GNsBereMpZnWr+h B8A0Oq8gj/5vDE/DVnL06iVFrfsAKV0= X-MC-Unique: -xeZ6Y3ePLCcZj6vtB8G8Q-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCHv2 1/3] docs: document new socket attribute for virtiofs Date: Fri, 23 Apr 2021 12:03:11 +0200 Message-Id: <9339552cf1698ea9640fad322ef4e23032709798.1619172073.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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) Describe the attribute and add an example. Signed-off-by: J=C3=A1n Tomko Reviewed-by: Jonathon Jongsma --- docs/formatdomain.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index 1b9b221611..282176c4f4 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -3242,6 +3242,10 @@ A directory on the host that can be accessed directl= y from the guest. + + + + ... ... @@ -3369,7 +3373,11 @@ A directory on the host that can be accessed directl= y from the guest. ``source`` The resource on the host that is being accessed in the guest. The ``nam= e`` attribute must be used with ``type=3D'template'``, and the ``dir`` attr= ibute - must be used with ``type=3D'mount'``. The ``usage`` attribute is used w= ith + must be used with ``type=3D'mount'``. For ``virtiofs``, the ``socket`` = attribute + can be used to connect to a virtiofsd daemon launched outside of libvir= t. + In that case, the ``target`` element does not apply and neither do most + virtiofs-related options, since they are controlled by virtiofsd, not l= ibvirtd. + The ``usage`` attribute is used with ``type=3D'ram'`` to set the memory limit in KiB, unless units are speci= fied by the ``units`` attribute. ``target`` --=20 2.29.2 From nobody Tue Apr 23 05:29:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1619172485; cv=none; d=zohomail.com; s=zohoarc; b=bZ0f4wS6MRvzkYeHvHQZQHPQ34fxm4ecKt071yOHYFmIKs9j039G+k+U2gjGDHiDstsVBPjPS4lFTv4JZtFhKo224d3Slo7AkiSrOm7sB2kDxxJcCK7yTIlJHiRHx4WG668dJ4sH7MC3NBQ+86LFNxP9bu8C/qiDg/nCL+YFATU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619172485; 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=udpqrd0GbOwuL+SDr2wDNA93teJIfXy9ndOowayUpXY=; b=molWc2AqP5deKtabjVWQDyvmRuovXfcxT1iMi8ThLPOQMtmVEUxaWflLzfDKF6mGxUlT9fHxqpZwZdXHilqZvyeaMIQvSUhYBkYSi2JPbKq9VU+KNIqOdMmgwbSEphnn8eBNo5opVEBE5KkVJR8JRab17wriasQopAxKOriy4Ls= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1619172485345738.4332400513953; Fri, 23 Apr 2021 03:08:05 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-gRjvzekSMp-j6x5VjpsunQ-1; Fri, 23 Apr 2021 06:08:01 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B2827107ACC7; Fri, 23 Apr 2021 10:07:55 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8D55C29692; Fri, 23 Apr 2021 10:07:55 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 55EA844A58; Fri, 23 Apr 2021 10:07:55 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13NA3Q20000959 for ; Fri, 23 Apr 2021 06:03:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id ADCB71349A; Fri, 23 Apr 2021 10:03:26 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 144BE5B4BD for ; Fri, 23 Apr 2021 10:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619172484; 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=udpqrd0GbOwuL+SDr2wDNA93teJIfXy9ndOowayUpXY=; b=CEhiNamQZXDkIFPShHdHnw8lOwi7X4Li5INVFqh+84oPUIF636ockbUM0YDO7/dsN3JN1A ACEEqeEHtbeS5TMSVUqqBgDmkP5eXeFr58Nf7JzXzzjnqZNZvUfwKg5dtZdAi3HP1u1uWh JZufR0OMR2gb0p0woS7wx4K9VQdHUYc= X-MC-Unique: gRjvzekSMp-j6x5VjpsunQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCHv2 2/3] docs: virtiofs: add section about externally-launched virtiofsd Date: Fri, 23 Apr 2021 12:03:12 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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) Provide an exmple in a place more visible than formatdomain.html. Signed-off-by: J=C3=A1n Tomko Reviewed-by: Jonathon Jongsma --- docs/kbase/virtiofs.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst index c0bc07a68d..740b08d50d 100644 --- a/docs/kbase/virtiofs.rst +++ b/docs/kbase/virtiofs.rst @@ -149,3 +149,18 @@ More optional elements can be specified + +Externally-launched virtiofsd +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D + +Libvirtd can also connect the ``vhost-user-fs`` device to a ``virtiofsd`` +daemon launched outside of libvirtd. In that case socket permissions, +the mount tag and all the virtiofsd options are out of libvirtd's +control and need to be set by the application running virtiofsd. + +:: + + + + + --=20 2.29.2 From nobody Tue Apr 23 05:29:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1619172390; cv=none; d=zohomail.com; s=zohoarc; b=S/ByEd2+ZOCT8eiBWVCVvRAuKMMHfj606qQPzMyvL2vxczYBrni9ncUrxUerPNx8FlpzmsHuUXGzwX48B8SfkXVUSkEYi7Ka0WyAuMHNROf72PCQM2kNB6ryeZCY8bAamXPMzqB+ndAKSZDQJgzytUTunAAPjD2CmCCy5ytWjek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619172390; 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=atdEsCczWfgCo/ILKZU1K4XdSX8pheQ2mMYeieLG5ZI=; b=TxvH2p8ZvyrwnL/RQyzqFLKu6iDyBSFX++5J8zqRYFNCBSN9l5W70S6/H18/8CKNaD40VBzDIThnXv1Su+TO8COB6svanh1jVBTBLEwfMeQO+zfXnB25zsIkdC4o5TbF9upPaCQyekaST06pMb0jbP5jLIbx5acY/lHe97cz4bg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1619172390829400.3453654759426; Fri, 23 Apr 2021 03:06:30 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-515-HFkX3eh6OKyguj5NHPwXDQ-1; Fri, 23 Apr 2021 06:06:27 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 57D0B18397A8; Fri, 23 Apr 2021 10:06:21 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0501D60C13; Fri, 23 Apr 2021 10:06:20 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7B8FD1806D1A; Fri, 23 Apr 2021 10:06:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13NA3Rxk000966 for ; Fri, 23 Apr 2021 06:03:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id B33D350A8B; Fri, 23 Apr 2021 10:03:27 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.50]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1BB541349A for ; Fri, 23 Apr 2021 10:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619172389; 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=atdEsCczWfgCo/ILKZU1K4XdSX8pheQ2mMYeieLG5ZI=; b=HJ/qqeYEtBKI4zFdU358eXwrkPZdOyNlZRKrIT5k7zOaxR2D4y+b2SaaARgGeLVrpciBow yRx8+61Cc25jyzVElsdDPZdRotZZb1MEF8e8Wtb0eBPXr6Jn60H82zubLtZoWPYsTHAxha sgdfRBadFCOV/wqaBIP3CzPxqw/Iips= X-MC-Unique: HFkX3eh6OKyguj5NHPwXDQ-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCHv2 3/3] NEWS: qemu: add socket for virtiofs filesystems Date: Fri, 23 Apr 2021 12:03:13 +0200 Message-Id: <25660417e9039c32882411789002421a0368945d.1619172073.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 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) Signed-off-by: J=C3=A1n Tomko Reviewed-by: Jonathon Jongsma --- NEWS.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 5f8b0ae02d..7b55dd056f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -18,6 +18,12 @@ v7.3.0 (unreleased) The xen driver now supports domains with more than 4TB of memory with xen >=3D 4.13. =20 + * qemu: add socket for virtiofs filesystems + + Libvirt now supports ``filesystem`` devices that connect to + a ``virtiofsd`` daemon launched outside of libvirtd, via the + ``socket`` attribute of the ``source`` element. + * **Improvements** =20 * **Bug fixes** --=20 2.29.2