From nobody Wed Apr 24 15:14:13 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=1619091677; cv=none; d=zohomail.com; s=zohoarc; b=hNgDflnww3RXH21hqAztxN84yuXTxNmpH86qhWN/dVEAx2eys7O4SAIoKr6f++rHYk7+Mzm6BcHT6DS91QVKxrV09LH4sM4TrdpD0o43PdqhVOIN5JNeeyC3TPDup2+Yz4Qnm0K0kquZxTSg/IDUeUSpLRt/jSL/vcUfTLAyRKk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619091677; 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=G+3vhLA5eHFuReebzY0MBb2hvSq5l5ugiRE/QaOaDL7a0xJg4Z21wLR8zdcgIihLseTRbQs8zFV/KZRbXJJlX/AFHJHvksVjfAaD1MKQij/LFOlqvB5XHJsV3ZFoomln4pa+otSfeva3jp/gj1p+AufXchvYcJoSOSeDzaYEag8= 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 1619091677275850.5654203891033; Thu, 22 Apr 2021 04:41:17 -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-249-moHQuoyvPZSxCXfj3DX-yA-1; Thu, 22 Apr 2021 07:41:13 -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 01A1683DD21; Thu, 22 Apr 2021 11:41:07 +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 0608560BE5; Thu, 22 Apr 2021 11:41:06 +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 616361809C82; Thu, 22 Apr 2021 11:41:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13MBf1jV015687 for ; Thu, 22 Apr 2021 07:41:01 -0400 Received: by smtp.corp.redhat.com (Postfix) id AA7B72CC9B; Thu, 22 Apr 2021 11:41:01 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE5EC1ACB9 for ; Thu, 22 Apr 2021 11:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619091676; 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=Po1XHtLun1srrmjK9hufYOCfWu3g95+YoQiHltjt4H+013mgXRHYbO+n+vVmhEu/DkdXkK jmMz/S+3Roi5AXmg5kWsiDKnb8J8Iq5578ITRShZosbovR6bPpOkr5DGA7Yh8SXup7dEvg BjnkALKrrvmfiPVbTEHf9ZePKUUILHk= X-MC-Unique: moHQuoyvPZSxCXfj3DX-yA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/3] docs: document new socket attribute for virtiofs Date: Thu, 22 Apr 2021 13:40:52 +0200 Message-Id: <53e3411615dd6392288b1995b0583ebe154d99df.1619091611.git.jtomko@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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) Describe the attribute and add an example. Signed-off-by: J=C3=A1n Tomko --- 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 Wed Apr 24 15:14:13 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=1619091675; cv=none; d=zohomail.com; s=zohoarc; b=M7EdOD+HbdNHZFOrJK+Rk170QvN4UeFb6PQeRaLaDRgRhyKuNpWYkP8ViDsLi89QAB3T6gXb/GbA6CPw4nRpH1eFhINT1Q2iXLfdBmwZrgJPUHOti2GLeipw2HhOwDPmiSOh9BqodA92isGy5yh8EY/r26A/Mspyz3d4fNIzzIE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619091675; 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=V1NbGf/nGbnLnUpl1eGSiLU0yOoxNuLrXkUr5RIXqto=; b=H8MEYh+4VMxn89W8YPxb0DUqttkEwyYLk9mtA5Sq9t2rV93/6mO9B4hjVOXTxM7sv5vKXqLWdmRzmhwzsNFIrqfFv1ITeg3Ojk8C4Aiz7dMfYbT6XqXjxCS5YGZWamAku0u1i9ny/EDc7RPbbyjyGJ1f+SruiXf7jePuLfiP+Y4= 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 1619091675869683.7038959635179; Thu, 22 Apr 2021 04:41:15 -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-574-Q2EXUHINO3aAs_dMa2HNTw-1; Thu, 22 Apr 2021 07:41:12 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 31D9D18AAB29; Thu, 22 Apr 2021 11:41:07 +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 EA50019C45; Thu, 22 Apr 2021 11:41:06 +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 4B1091806D0F; Thu, 22 Apr 2021 11:41:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13MBf2kF015697 for ; Thu, 22 Apr 2021 07:41:02 -0400 Received: by smtp.corp.redhat.com (Postfix) id AE0162CC9B; Thu, 22 Apr 2021 11:41:02 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C8B91ACB9 for ; Thu, 22 Apr 2021 11:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619091674; 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=V1NbGf/nGbnLnUpl1eGSiLU0yOoxNuLrXkUr5RIXqto=; b=HmzWb9yntVvolrHykDBQzJiRrGtrkL6EoN7jTGYg3rTEYflg+fmdqnbvkmkKgkW8njnUMf of7itbpZrts2aWGdvEpiYlAZGxkzWwKLGI19nLWwpRvY6RGs0sAgf8BncfwFpG+MqN05q0 OTJBgDf8xIXeTz2+L20yfEUzuY3L/pw= X-MC-Unique: Q2EXUHINO3aAs_dMa2HNTw-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] docs: virtiofs: add section about externally-launched virtiofsd Date: Thu, 22 Apr 2021 13:40:53 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.84 on 10.5.11.23 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 --- docs/kbase/virtiofs.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst index c0bc07a68d..09674a4a76 100644 --- a/docs/kbase/virtiofs.rst +++ b/docs/kbase/virtiofs.rst @@ -149,3 +149,17 @@ 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, + + +:: + + + + + --=20 2.29.2 From nobody Wed Apr 24 15:14:13 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=1619091684; cv=none; d=zohomail.com; s=zohoarc; b=cOneIkTgue8ghv88A2st9toUIEzoeQHlWrwCGEPSM/cCdt42GpveQYP24LJfLEi3Zk45ETIELspexmLoidMEzoa2HXPsqf7QEKea1sC/y9s/7blHjl0w3bcoBDqBuBHq2K/Ub83r6HffDhIYSHEzOkqXOAO6EdKEO3EmxdGsBF8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619091684; 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=iihaAyp8VDs387sze26YmB94+4jeZOwSSj0fN00pcR/1nxvtXgtkoRgWPUj0mhVtjci2ySw6q5YcQDHAQw0XQIBONoBlUbBaljdPKjjxMpsvZnxbjNv83i8eAF8WI6IxWq5qfUkRj3vIgwAbBVuaXTHO6SlvIcYK9xqeri8oAcs= 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 1619091684949931.2298519036224; Thu, 22 Apr 2021 04:41:24 -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-542-f2lGpuBgNQ2B0jbmghUKXg-1; Thu, 22 Apr 2021 07:41:21 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A079A83DD24; Thu, 22 Apr 2021 11:41:16 +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 7ADD15C23E; Thu, 22 Apr 2021 11:41:16 +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 4409A180B617; Thu, 22 Apr 2021 11:41:16 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 13MBf3jl015702 for ; Thu, 22 Apr 2021 07:41:03 -0400 Received: by smtp.corp.redhat.com (Postfix) id CD1D25D747; Thu, 22 Apr 2021 11:41:03 +0000 (UTC) Received: from lpt.redhat.com (unknown [10.40.208.55]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1EAFE627DC for ; Thu, 22 Apr 2021 11:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619091683; 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=bHWBYaPhYGfOHxMxyCVA0L+HRBfAHG61dQxrGssHmyUAlQQ7+cxPbrZj5MOpx/PcTcxhvk cq/QRcjdVZcsixKoL2o6K7ly2pvFHLPjvNUvjUH9pQilN2lxcTcryW2wzcX0iKV1HVreku PFynRoZSLkp4J0+fEYAUFCl6nXpNdD0= X-MC-Unique: f2lGpuBgNQ2B0jbmghUKXg-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH 3/3] NEWS: qemu: add socket for virtiofs filesystems Date: Thu, 22 Apr 2021 13:40:54 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.16 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 --- 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