From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeMwo-0007tw-Um for qemu-devel@nongnu.org; Mon, 20 May 2013 06:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeMwk-0008Ts-6c for qemu-devel@nongnu.org; Mon, 20 May 2013 06:04:06 -0400 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:35255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeMwj-0008TU-JG for qemu-devel@nongnu.org; Mon, 20 May 2013 06:04:02 -0400 Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 May 2013 19:55:29 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 9EFB02CE8053 for ; Mon, 20 May 2013 20:03:53 +1000 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4K9nbHh24051774 for ; Mon, 20 May 2013 19:49:38 +1000 Received: from d23av01.au.ibm.com (loopback [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4KA3pHx018023 for ; Mon, 20 May 2013 20:03:52 +1000 From: "Aneesh Kumar K.V" In-Reply-To: <5198FA06.1000802@msgid.tls.msk.ru> References: <512EF3A0.5010007@msgid.tls.msk.ru> <87r4k0zgo1.fsf@in.ibm.com> <512F677E.2060403@msgid.tls.msk.ru> <87obf4z6xs.fsf@in.ibm.com> <5198FA06.1000802@msgid.tls.msk.ru> Date: Mon, 20 May 2013 15:33:49 +0530 Message-ID: <877giu55oa.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] 9pfs: unWRITAble dirs with random errors in guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev , "M. Mohan Kumar" Cc: qemu-devel Michael Tokarev writes: > Rehashing an old thread again... > > 28.02.2013 21:25, M. Mohan Kumar wrote: >> Michael Tokarev writes: >> >> >>> 28.02.2013 17:55, M. Mohan Kumar wrote: >>>> Michael Tokarev writes: >>>> >>>> Hi, >>>> >>>> Please try mounting with -oversion=9p2000.L >>>> >>>> With qemu-1.4.0 and 9p2000.L, I could not recreate this issue. ie not >>>> getting Unknown error during directory listing. >>> >>> Yes, with 9p2000.L it works fine, both reported >>> issues are gone. >>> >>>> I am using Guest kernel 3.8.0-rc5+. >>> >>> But do you see my original error, with the default mount version? >>> (I'm using 3.2 guest kernel if that matters, and it is also 32bits, >>> which should not matter). >> Yes, with default mount option, i am getting same error. > > So, is there any intention to fix that for the default mount > options? Or should the corresponding protocol be just marked > as broken and qemu to refuse its usage? I think it is either > one or another, -- either fix or drop, that is, keeping > known-broken behavor isn't exactly the right thing. I am trying to reproduce this. I guess there is some part of config i am missing I have export path /tmp/ and is exported via -virtfs local,path=/tmp/,mount_tag=v_tmp,security_model=mapped-file There is not .virtfs_metadata directory in /tmp/ in /tmp/ i have test/test2 with ls -ald test/test2 dr-xr-xr-x 2 kvaneesh kvaneesh 4096 May 20 15:20 test/test2 Now i am mounting the same via mount -t 9p -oversion=9p2000.u,ro v_tmp /mnt root@qemu-guest:~# ls -al /mnt/test/test2/ total 8 dr-xr-xr-x 2 virtfs virtfs 4096 May 20 15:20 . drwxr-xr-x 3 virtfs virtfs 4096 May 20 15:00 .. -r--r--r-- 1 virtfs virtfs 0 May 20 15:20 k Any idea what i am missing ? -aneesh