On 30.08.2017 11:28, Mahmood wrote: >> Could you please try to replace the -virtfs option with these two options: >> > >-fsdev local,id=shared,path=/home/mahmood/Downloads \ > >-device virtio-9p-pci,fsdev=shared,mount_tag=Downloads > > Still get the same error! > > mahmood@cluster:qemu-vm$ qemu-system-x86_64 -m 4000 -cpu Opteron_G5 -smp 2 > -hda centos7server.img -boot c -usbdevice tablet -enable-kvm -device > e1000,netdev=host_files -netdev user,net=10.0.2.0/24,id=host_files -fsdev > local,id=shared,path=/home/mahmood/Downloads -device > virtio-9p-pci,fsdev=shared,mount_tag=Downloads > qemu-system-x86_64: -device virtio-9p-pci,fsdev=shared,mount_tag=Downloads: > Parameter 'driver' expects device type > mahmood@cluster:qemu-vm$
Hmmm, I forgot to ask: Which version of QEMU are you using? I think this should work with the latest version, you just might need to add "security_model=none" to the -fsdev option there. Thomas