From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA4ZM-0001oV-2v for qemu-devel@nongnu.org; Sun, 02 Feb 2014 16:27:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WA4ZG-0001yf-3Z for qemu-devel@nongnu.org; Sun, 02 Feb 2014 16:27:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA4ZF-0001yX-SB for qemu-devel@nongnu.org; Sun, 02 Feb 2014 16:27:06 -0500 Date: Sun, 2 Feb 2014 23:32:02 +0200 From: "Michael S. Tsirkin" Message-ID: <20140202213202.GA2442@redhat.com> References: <1390921707-15109-1-git-send-email-kirill.shutemov@linux.intel.com> <878utx5tw1.fsf@linux.vnet.ibm.com> <87bnyp4e7k.fsf@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bnyp4e7k.fsf@linux.vnet.ibm.com> Subject: [Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion()) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Aneesh Kumar K.V" Cc: qemu-devel@nongnu.org, "Kirill A. Shutemov" Haven't used 9pfs in a while. I thought these patches are a good time to play with it some more. I have encountered two issues. What I'm doing: host: qemu a75143eda2ddf581b51e96c000974bcdfe2cbd10. /scm/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1g -cpu kvm64 -smp 2 f20-x64.qcow2 -netdev user,id=foo -redir tcp:8022::22 -device virtio-net,netdev=foo -serial stdio -fsdev local,security_model=none,id=fsdev0,path=/lib/modules/ -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=libmodulesshare -fsdev local,security_model=none,id=fsdev1,path=/boot -device virtio-9p-pci,id=fs1,fsdev=fsdev0,mount_tag=bootshare -no-reboot -snapshot guest: Fedora 20 added this in /etc/fstab: bootshare /share/boot 9p trans=virtio,version=9p2000.L 0 0 libmodulesshare /share/lib/modules 9p trans=virtio,version=9p2000.L 0 0 I have encountered two issues: 1. mount failure on boot If I try to mount on boot through fstab, I get: [ 2.270157] 9pnet: Could not find request transport: virtio [ 2.270158] 9pnet: Could not find request transport: virtio If I then re-try mount, it succeeds immediately! Some kind of dependency issue? 2. files immediately in the mounted directory aren't visible on the guest under /share/boot. For example, files under /boot on host are not visible on guest, files under child directories seem visible. Strange. -- MST