From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 764AEC3815B for ; Mon, 20 Apr 2020 15:43:49 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 496D8206D6 for ; Mon, 20 Apr 2020 15:43:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 496D8206D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:38080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQYaJ-0002XL-AT for qemu-devel@archiver.kernel.org; Mon, 20 Apr 2020 11:43:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39506 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQYZC-0001vU-3R for qemu-devel@nongnu.org; Mon, 20 Apr 2020 11:42:38 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQYZB-0003aF-Dr for qemu-devel@nongnu.org; Mon, 20 Apr 2020 11:42:37 -0400 Received: from 13.mo4.mail-out.ovh.net ([178.33.251.8]:49962) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQYZA-0003Ur-UQ for qemu-devel@nongnu.org; Mon, 20 Apr 2020 11:42:37 -0400 Received: from player759.ha.ovh.net (unknown [10.108.35.185]) by mo4.mail-out.ovh.net (Postfix) with ESMTP id DAA32230D12 for ; Mon, 20 Apr 2020 17:42:31 +0200 (CEST) Received: from kaod.org (lns-bzn-46-82-253-208-248.adsl.proxad.net [82.253.208.248]) (Authenticated sender: groug@kaod.org) by player759.ha.ovh.net (Postfix) with ESMTPSA id 1E8B3119A01C9; Mon, 20 Apr 2020 15:42:30 +0000 (UTC) Date: Mon, 20 Apr 2020 17:42:26 +0200 From: Greg Kurz To: Christian Schoenebeck Subject: Re: [PATCH] qemu-options.hx: 9p: clarify -virtfs vs. -fsdev Message-ID: <20200420174226.69807b11@bahia.lan> In-Reply-To: <208f1fceffce2feaf7c900b29e326b967dce7762.1585661532.git.qemu_oss@crudebyte.com> References: <208f1fceffce2feaf7c900b29e326b967dce7762.1585661532.git.qemu_oss@crudebyte.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 14044193964349561152 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrgeefgdekjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepfffhvffukfgjfhfogggtgfesthejredtredtvdenucfhrhhomhepifhrvghgucfmuhhriicuoehgrhhouhhgsehkrghougdrohhrgheqnecukfhppedtrddtrddtrddtpdekvddrvdehfedrvddtkedrvdegkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejheelrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepghhrohhugheskhgrohgurdhorhhgpdhrtghpthhtohepqhgvmhhuqdguvghvvghlsehnohhnghhnuhdrohhrgh Received-SPF: pass client-ip=178.33.251.8; envelope-from=groug@kaod.org; helo=13.mo4.mail-out.ovh.net X-detected-operating-system: by eggs1p.gnu.org: First seen = 2020/04/20 11:42:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Received-From: 178.33.251.8 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-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Tue, 31 Mar 2020 15:23:38 +0200 Christian Schoenebeck wrote: > The docs are ambiguous about the difference (or actually their > equality) between options '-virtfs' vs. '-fsdev'. So clarify that > '-virtfs' is actually just a convenience shortcut for its > generalized form '-fsdev' in conjunction with '-device virtio-9p-pci'. > > And as we're at it, also be a bit more descriptive what 9pfs is > actually used for. > > Signed-off-by: Christian Schoenebeck > --- Applied to 9p-next. > qemu-options.hx | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index 962a5ebaa6..fd3830c6cd 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -1542,9 +1542,17 @@ SRST > ``-virtfs proxy,sock_fd=sock_fd,mount_tag=mount_tag [,writeout=writeout][,readonly]`` > \ > ``-virtfs synth,mount_tag=mount_tag`` > - Define a new filesystem device and expose it to the guest using a > - virtio-9p-device. The general form of a Virtual File system > - pass-through options are: > + Define a new virtual filesystem device and expose it to the guest using > + a virtio-9p-device (a.k.a. 9pfs), which essentially means that a certain > + directory on host is made directly accessible by guest as a pass-through > + file system by using the 9P network protocol for communication between > + host and guests, if desired even accessible, shared by several guests > + simultaniously. > + > + Note that ``-virtfs`` is actually just a convenience shortcut for its > + generalized form ``-fsdev -device virtio-9p-pci``. > + > + The general form of pass-through file system options are: > > ``local`` > Accesses to the filesystem are done by QEMU.