qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1130769] [NEW] VirtFS (virtio-9p-pci) error: Param


From: Markus Armbruster
Subject: Re: [Qemu-devel] [Bug 1130769] [NEW] VirtFS (virtio-9p-pci) error: Parameter 'driver' expects device type
Date: Thu, 21 Feb 2013 08:09:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Tim Comer <address@hidden> writes:

> Public bug reported:
>
> Getting error "Parameter 'driver' expects device type" when trying to
> share a file system with a guest.

Full error message, please.  Should look like

    qemu-system-x86_64: -device foo: Parameter 'driver' expects device type

> Command line:
> qemu-kvm
>     -m 4096 -cpu host -smp 4,sockets=1
>     -net nic,model=virtio,macaddr=00:00:00:00:00:00 -net 
> tap,ifname=tap0,script=no,downscript=no
>     -rtc base=localtime
>     -drive file=/vm/VM.img,cache=none,if=virtio
>     -curses
>     -boot menu=off
>     -fsdev 
> fsdriver,id=fsdev-fs0,path=/srv/files,security_model=passthrough,writeout=writeout
>     -device virtio-9p-pci,fsdev=fsdev-fs0,mount_tag=files

"-fsdev fsdriver" looks wrong.  RTFM yields:

       -fsdev
       
fsdriver,id=id,path=path,[security_model=security_model][,writeout=writeout][,readonly][,socket=socket|sock_fd=sock_fd]
           Define a new file system device. Valid options are:

           fsdriver
               This option specifies the fs driver backend to use.  Currently
               "local", "handle" and "proxy" file system drivers are
               supported.

[...]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]