Hi I have this problem now too (it worked before upgrading to xenial
from trusty).  My share is /srv/video on the host and video in my home
folder on the host.  My ls commands output

host:

drwxrwxr-x 7 micah users 4096 Apr 14 20:49 video/

guest:

drwxrwxr-x 7 micah users 4096 Apr 14 20:49 video/


host config:

    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/srv/video'/>
      <target dir='video'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
    </filesystem>
 
fstab on the guest:

video   /home/micah/video       9p      trans=virtio,rw 0       0

and from the host syslog:

Apr 14 20:48:14 mastermold kernel: [14059.033861] audit: type=1400
audit(1460681294.791:23): apparmor="DENIED" operation="chown" profile
="libvirt-a3ede2b7-63d4-bcfb-8342-724f20a8cc48" name="/srv/video/"
pid=3060 comm="qemu-system-x86" requested_mask="w" denied_mask="w"
fsuid=106 ouid=1000

This error has come up before, but there doesn't appear to be a
workaround...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559317

Title:
  [xenial] No write access to VirtFS (9p) in qemu VM run by libvirt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1559317/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to