Received: from [140.186.70.92] (port=58575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDK4x-00029b-Od for qemu-devel@nongnu.org; Tue, 02 Nov 2010 12:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDK4w-0004SD-FT for qemu-devel@nongnu.org; Tue, 02 Nov 2010 12:51:23 -0400 Received: from adelie.canonical.com ([91.189.90.139]:34654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDK4w-0004Rk-4n for qemu-devel@nongnu.org; Tue, 02 Nov 2010 12:51:22 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PDK4t-0007wH-9O for ; Tue, 02 Nov 2010 16:51:19 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 46F092E8212 for ; Tue, 2 Nov 2010 16:50:58 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 02 Nov 2010 16:41:17 -0000 From: James Morse <655120@bugs.launchpad.net> Sender: bounces@canonical.com References: <20101005124907.5972.17735.malonedeb@palladium.canonical.com> Message-Id: <20101102164117.12415.76032.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 655120] Re: VirtFS EFAULT when accessing not existing files Reply-To: Bug 655120 <655120@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Yes, I can't reproduce this anymore with the updated tree. = This can probably be closed. Thanks! -- = VirtFS EFAULT when accessing not existing files https://bugs.launchpad.net/bugs/655120 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: =C2=A0use as client Debian squeeze i386 with a custom kernel: Linux (none) 2.6.35.5 #3 Thu Sep 23 18:36:02 UTC 2010 i686 GNU/Linux And as host Debian squeeze amd64 Linux asd 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Lin= ux kvm version is: kvm-88-5908-gdd67374 Started the client using: sudo /usr/local/kvm/bin/qemu-system-x86_64 -m 1024 -kernel linux-2.6.35.5.q= emu -drive file=3Droot.img,if=3Dvirtio -net nic,macaddr=3D02:ca:ff:ee:ba:be= ,model=3Dvirtio,vlan=3D1 -net tap,ifname=3Dtap1,vlan=3D1,script=3Dno -virtf= s local,path=3D/host,security_model=3Dmapped,mount_tag=3Dhost -nographic I've done following inside the guest: $ mount -t 9p -o trans=3Dvirtio,version=3D9p2000.L host /mnt $ ls -l /mnt/not-existing ls: cannot access /mnt/not-existing: Bad address This does not happen when not using 9p2000.L $ mount -t 9p -o trans=3Dvirtio host /mnt $ ls -l /mnt/not-existing ls: cannot access /mnt/not-existing: No such file or directory This return code will for example break make or many other tools. $ echo $PATH /mnt/usr/bin:/mnt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin= :/sbin:/bin $ make KERNELDIR=3D/usr/src/linux make: execvp: pwd: Bad address Makefile:54: /Makefile.linux: No such file or directory make: *** No rule to make target `/Makefile.linux'. Stop.