From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51100 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObxQu-0003kZ-LZ for qemu-devel@nongnu.org; Thu, 22 Jul 2010 11:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObxQt-0001VI-DK for qemu-devel@nongnu.org; Thu, 22 Jul 2010 11:11:36 -0400 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:50584) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObxQs-0001UW-RB for qemu-devel@nongnu.org; Thu, 22 Jul 2010 11:11:35 -0400 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp03.au.ibm.com (8.14.4/8.13.1) with ESMTP id o6MF7pfj015362 for ; Fri, 23 Jul 2010 01:07:51 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o6MFBUJX1572976 for ; Fri, 23 Jul 2010 01:11:30 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o6MFBTWN005320 for ; Fri, 23 Jul 2010 01:11:29 +1000 From: "Aneesh Kumar K. V" Subject: Re: [Qemu-devel] virtio-9p is not working In-Reply-To: References: Date: Thu, 22 Jul 2010 20:41:21 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dallas Lee , qemu-devel@nongnu.org On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee wrote: > Hi, > > I have trying to use the virtio-9p for my linux in QEMU, but without > success. > > Here is my option for booting my qemu: > i386-softmmu/qemu -kernel bzImage -append "console=ttyS0 > video=uvesafb:ywrap,overlay:rgb16,480x800-32@60 root=/dev/nfs rw > nfsroot=10.0.2.2:/root,udp ip=10.0.2.16:::::eth0:none 5" -net > nic,model=virtio -net user -soundhw all -usb -serial > telnet:localhost:1200,server -vga std -m 512 -L ./pc-bios -bios bios.bin > -virtfs > local,path=/home/dallas/nfs,security_model=passthrough,mount_tag=v_tmp > > The virtio network is working, I could mount the nfs through virio net. > > And in the guest linux, I tried to mount v9fs by using following command: > mount -t 9p -o trans=virtio -o debug=0xFFFF v_tmp /mnt > > but unfortunately I got the error: > mount: mounting v_tmp on /mnt failed: No such device > > And I can't find the v_tmp neither in /sys/devices/virtio-pci/virtio1/ nor > in /sys/bus/virtio/drivers/9pnet_virtio/virtio1/ You need to have libattr dev package to get virtio enabled -aneesh