On Wed, 21 Jul 2010 17:27:47 +0900, Dallas Lee <mswpl...@gmail.com> 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...@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


Reply via email to