Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: Manuel Reimer <Manuel.Spam@nurfuerspam.de>
To: kvm@vger.kernel.org
Subject: How to allow guest to write on 9p/virtfs shared folder?
Date: Wed, 18 Sep 2013 20:20:02 +0200	[thread overview]
Message-ID: <l1cqs7$dtn$1@ger.gmane.org> (raw)

Hello,

today, I upgraded my kernel and I seem to have gotten a new kvm backend 
with this.

Now my guest systems are no longer able to write to the host filesystem.

I share the filesystem using the following command to qemu:

-virtfs 
local,id=fsdev0,path=$SHARED,security_model=passthrough,mount_tag=vmshared

and on guest side (fstab):

vmshared /mnt/vmshared 9p 
rw,comment=systemd.automount,trans=virtio,access=any 0 0

Versions:

$ uname -a
Linux manuelspc 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 
2013 x86_64 GNU/Linux
$ qemu-system-x86_64 --version
QEMU emulator version 1.5.2, Copyright (c) 2003-2008 Fabrice Bellard

Can someone please help me to get back my writing permissions?

Thank you in advance

Yours

Manuel


             reply	other threads:[~2013-09-18 18:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-18 18:20 Manuel Reimer [this message]
2013-09-18 18:34 ` How to allow guest to write on 9p/virtfs shared folder? Manuel Reimer
2013-09-19 14:39   ` Manuel Reimer
     [not found]     ` <CAFkjPTknP-4quWY87qkPkS87KCCs5CQaSUE5Arx=y7mO+ATeMw@mail.gmail.com>
2013-09-19 17:46       ` Manuel Reimer

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='l1cqs7$dtn$1@ger.gmane.org' \
    --to=manuel.spam@nurfuerspam.de \
    --cc=kvm@vger.kernel.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