From nobody Sat May 18 11:46:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1623088559; cv=none; d=zohomail.com; s=zohoarc; b=lJXILgy72pOAwuOTJvTZhkrl6YZ25sT1pbVn1t47HU334RjRPJ4/k/dAi5O6M4TjJ0vWuN3Obz6LNNTMIy4O7AmC0ZnMCq/5xmC+RFkXM4otjBO3x1MtAAvyOnBXIOlHGHBDPRKAOP7ZlVAx9ZIzr85ZcftXU4a/9QLWbNv4DAA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623088559; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=jfpfzr6Z20D006yVTqHh3oM++FGsDR5ck1PDjf/TwRA=; b=WUDbqplzm4LOvXdPfyf/ndJd45GClmN3EiPsobb3YyaFSyDl/Hm4hnNLsvo0/rCBnhgV3ytfQq7V3o8YuRsI7V0Fz0C5SJFGl7/4BLBwgKkJOTE9sZQ6FS6Qg5N5GRbddKypYYVvtk0dN23WpYBjs+SM9mvO94G+HZ2U7Wcokxw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1623088559149591.2382508387137; Mon, 7 Jun 2021 10:55:59 -0700 (PDT) Received: from localhost ([::1]:54500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqJTi-0006fB-1i for importer@patchew.org; Mon, 07 Jun 2021 13:55:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqJMN-0006X3-Rt for qemu-devel@nongnu.org; Mon, 07 Jun 2021 13:48:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:42357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqJHA-0001oI-UG for qemu-devel@nongnu.org; Mon, 07 Jun 2021 13:43:02 -0400 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-158-yWJv8k7zPxKbZ1NMmbfp-w-1; Mon, 07 Jun 2021 13:42:58 -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 022E31020C36; Mon, 7 Jun 2021 17:42:58 +0000 (UTC) Received: from thuth.com (ovpn-112-83.ams2.redhat.com [10.36.112.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D8865D6D5; Mon, 7 Jun 2021 17:42:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623087780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jfpfzr6Z20D006yVTqHh3oM++FGsDR5ck1PDjf/TwRA=; b=V4rPZ2JTVVXNlE5jxWMPjFyHrTJF4EH1mTMUDEg6VxJD6j2Q0Zc3Ct0/uBt5XbF4+/d7HE W8PAC1+vaN9ajF8kU+AWRXoQTNCzHDEsAtJVPwENXzvyvd44UJ8aCbmTd6yy1T16DMDGAg vOvJ1QdXX6sqWS0EtygN1kgx5izSLNo= X-MC-Unique: yWJv8k7zPxKbZ1NMmbfp-w-1 From: Thomas Huth To: qemu-devel@nongnu.org, Stefan Hajnoczi , "Dr. David Alan Gilbert" Subject: [PATCH] docs/tools/virtiofsd.rst: Do not hard-code the QEMU binary name Date: Mon, 7 Jun 2021 19:42:50 +0200 Message-Id: <20210607174250.920226-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" In downstream, we want to use a different name for the QEMU binary, and some people might also use the docs for non-x86 binaries, that's why we already created the |qemu_system| placeholder in the past. Use it now in the virtiofsd doc, too. Signed-off-by: Thomas Huth Reviewed-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Stefan Hajnoczi --- docs/tools/virtiofsd.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/tools/virtiofsd.rst b/docs/tools/virtiofsd.rst index 00554c75bd..265a39b0cf 100644 --- a/docs/tools/virtiofsd.rst +++ b/docs/tools/virtiofsd.rst @@ -298,13 +298,13 @@ Examples Export ``/var/lib/fs/vm001/`` on vhost-user UNIX domain socket ``/var/run/vm001-vhost-fs.sock``: =20 -:: +.. parsed-literal:: =20 host# virtiofsd --socket-path=3D/var/run/vm001-vhost-fs.sock -o source= =3D/var/lib/fs/vm001 - host# qemu-system-x86_64 \ - -chardev socket,id=3Dchar0,path=3D/var/run/vm001-vhost-fs.sock \ - -device vhost-user-fs-pci,chardev=3Dchar0,tag=3Dmyfs \ - -object memory-backend-memfd,id=3Dmem,size=3D4G,share=3Don \ - -numa node,memdev=3Dmem \ - ... + host# |qemu_system| \\ + -chardev socket,id=3Dchar0,path=3D/var/run/vm001-vhost-fs.sock \\ + -device vhost-user-fs-pci,chardev=3Dchar0,tag=3Dmyfs \\ + -object memory-backend-memfd,id=3Dmem,size=3D4G,share=3Don \\ + -numa node,memdev=3Dmem \\ + ... guest# mount -t virtiofs myfs /mnt --=20 2.27.0