qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-discuss] Accessing a shared folder


From: Thomas Huth
Subject: Re: [Qemu-devel] [Qemu-discuss] Accessing a shared folder
Date: Wed, 30 Aug 2017 10:15:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 30.08.2017 09:55, Mahmood wrote:
>> You don't have to write "fsdriver" here, but replace it with "local",
>> "handle" or "proxy".
> 
> Still get the same error
> 
> address@hidden: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 -virtfs 
> local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads 
> qemu-system-x86_64: -virtfs 
> local,id=shared,path=/home/mahmood/Downloads,mount_tag=Downloads: Parameter 
> 'driver' expects device type 

Hmm, I've got the strange feeling that the -virtfs parameter might
currently be broken.

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

I hope that works better...

 Thomas



reply via email to

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