qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kurz <groug@kaod.org>
To: Mahmood <nt_mahmood@yahoo.com>
Cc: Thomas Huth <huth@tuxfamily.org>,
	"qemu-discuss@nongnu.org" <qemu-discuss@nongnu.org>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-discuss] Accessing a shared folder
Date: Wed, 30 Aug 2017 12:11:09 +0200	[thread overview]
Message-ID: <20170830121109.7fab5559@bahia> (raw)
In-Reply-To: <2061420835.208824.1504085337258@mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

On Wed, 30 Aug 2017 09:28:57 +0000 (UTC)
Mahmood <nt_mahmood@yahoo.com> 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$
> 

Hi,

Both -virtfs and -fsdev/-device syntaxes work for me with the current QEMU
master branch :) Where's your qemu-system-x86_64 binary coming from ?

Cheers,

--
Greg

PS: I'm on vacation. I'll be fully available next week.


> 
> 
> 
> Regards,
> Mahmood
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2017-08-30 10:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1915302638.2814146.1504030043465.ref@mail.yahoo.com>
     [not found] ` <1915302638.2814146.1504030043465@mail.yahoo.com>
     [not found]   ` <14033890-2a35-666c-2fa7-5a8727090801@tuxfamily.org>
     [not found]     ` <1075529669.195794.1504079702032@mail.yahoo.com>
2017-08-30  8:15       ` [Qemu-devel] [Qemu-discuss] Accessing a shared folder Thomas Huth
2017-08-30  9:28         ` Mahmood
2017-08-30 10:11           ` Greg Kurz [this message]
2017-08-30 10:17             ` Thomas Huth
2017-08-30 10:53               ` Mahmood
2017-08-30 11:38                 ` Mahmood
2017-08-30 12:00                   ` Peter Maydell
2017-08-30 13:21               ` Greg Kurz
2017-08-30 14:35               ` Mahmood
2017-08-30 17:28                 ` Greg Kurz
2017-08-31 10:34                   ` Mahmood
2017-08-31 10:50                     ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170830121109.7fab5559@bahia \
    --to=groug@kaod.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=huth@tuxfamily.org \
    --cc=nt_mahmood@yahoo.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-discuss@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).