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=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no 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 D488DC43461 for ; Wed, 16 Sep 2020 17:29:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0E0F222E7 for ; Wed, 16 Sep 2020 17:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727042AbgIPR3A (ORCPT ); Wed, 16 Sep 2020 13:29:00 -0400 Received: from smtpout1.mo804.mail-out.ovh.net ([79.137.123.220]:50225 "EHLO smtpout1.mo804.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727049AbgIPR0T (ORCPT ); Wed, 16 Sep 2020 13:26:19 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.108.4.12]) by mo804.mail-out.ovh.net (Postfix) with ESMTPS id 4E301623C91A; Wed, 16 Sep 2020 14:16:23 +0200 (CEST) Received: from kaod.org (37.59.142.97) by DAG8EX1.mxp5.local (172.16.2.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Wed, 16 Sep 2020 14:16:22 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-97G002e1fe5b2b-4e4d-47ab-b857-58b54de75c1a, 341A1E608B89118414D473E9652EAD3A863CA3A2) smtp.auth=groug@kaod.org Date: Wed, 16 Sep 2020 14:16:21 +0200 From: Greg Kurz To: Christian Schoenebeck CC: Jianyong Wu , , , , , , , Thomas Huth Subject: Re: [V9fs-developer] [PATCH RFC 0/4] 9p: fix open-unlink-f*syscall bug Message-ID: <20200916141621.5de7d397@bahia.lan> In-Reply-To: <20200914174630.195e816f@bahia.lan> References: <20200914033754.29188-1-jianyong.wu@arm.com> <2828347.d8MXItvaOC@silver> <20200914144325.7928dbd3@bahia.lan> <2037087.W39pGsgtbe@silver> <20200914174630.195e816f@bahia.lan> X-Mailer: Claws Mail 3.17.6 (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-Originating-IP: [37.59.142.97] X-ClientProxiedBy: DAG9EX1.mxp5.local (172.16.2.81) To DAG8EX1.mxp5.local (172.16.2.71) X-Ovh-Tracer-GUID: becf4751-b578-4efe-927e-fab0f5bd1e5e X-Ovh-Tracer-Id: 150589112631335215 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgdehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkjghfofggtgfgihesthejredtredtvdenucfhrhhomhepifhrvghgucfmuhhriicuoehgrhhouhhgsehkrghougdrohhrgheqnecuggftrfgrthhtvghrnhepkedvgfeugfdtvdelfeffueevfeegudekhefftdejvefgveeileeludffkeeuvdffnecuffhomhgrihhnpehnohhnghhnuhdrohhrghenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddrleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehgrhhouhhgsehkrghougdrohhrghdprhgtphhtthhopehthhhuthhhsehrvgguhhgrthdrtghomh Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Sep 2020 17:46:30 +0200 Greg Kurz wrote: > On Mon, 14 Sep 2020 17:19:20 +0200 > Christian Schoenebeck wrote: > > > On Montag, 14. September 2020 14:43:25 CEST Greg Kurz wrote: > > > > So yes, looks like this also requires changes to the 9pfs 'local' fs > > > > driver on QEMU side: > > > > https://lists.nongnu.org/archive/html/qemu-devel/2016-06/msg07586.html > > > > > > > > Eric, Greg, would there be an easy way to establish QEMU test cases > > > > running > > > > the 9pfs 'local' fs driver? Right now we only have 9pfs qtest cases for > > > > QEMU which can only use the 'synth' driver, which is not helpful for such > > > > kind of issues. > > > > > > I guess it's possible to introduce new qtests that start QEMU with > > > -fsdev local instead of -fsdev synth... I haven't looked in a while > > > though, so I won't comment on "easy way" ;-) > > > > Makes sense, and I considered that approach as well. > > > > The question is the following: is there a QEMU policy about test cases that > > create/write/read/delete *real* files? I.e. should those test files be written > > to a certain location, and are there measures of sandboxing required? > > > > I don't know. You'll need to figure out by yourself, reading code from > other tests or asking on IRC. > Maybe Thomas (added in Cc) can give some hints on how test cases should handle creation/deletion of real files ? > > Best regards, > > Christian Schoenebeck > > > > >