From nobody Sun Feb 8 21:33:23 2026 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