[Bug 734750] New: 9p virtual filesystem does not support file/dir creations on guest (using qemu-kvm -virtfs as host)
https://bugzilla.novell.com/show_bug.cgi?id=734750 https://bugzilla.novell.com/show_bug.cgi?id=734750#c0 Summary: 9p virtual filesystem does not support file/dir creations on guest (using qemu-kvm -virtfs as host) Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: mat@mshopf.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Using qemu-kvm in package kvm-0.15.1-127.1 from Virtualization. Related options: qemu-kvm [...] -virtfs local,path=/var/tmp/OhmStick/host,security_model=passthrough,mount_tag=host Mounted on guest with mount -t 9p -o rw,relatime,sync,dirsync,trans=virtio,version=9p2000.L host /host After that, files created on the host side with touch /var/tmp/OhmStick/host/bla show up. Those files can be changed on the guest side (e.g. edited with vi and saved). But no files/directories can be created on the guest side (running these commands as root): # mkdir /host/ttt cannot create directory /host/ttt: Permission denied I also tried setting /var/tmp/OhmStick/host to mode 777, the changed permissions are reflected, but still I get either Permission denied, Operation not permitted, or: # touch /host/ttt touch: Setting times of /host/ttt: No such file or directory This used to work fine, so that's a regression. I'm unsure how to find out whether the regression is on the kernel driver side or in qemu-kvm. There are no messages in the syslog, and qemu isn't exactly verbose either. Reproducible: Always Steps to Reproduce: 1. Install qemu-kvm from Virtualization project, kvm package 2. Create /var/tmp/host directory 2. Boot into 12.1 image with qemu-kvm -virtfs local,path=/var/tmp/host,security_model=passthrough,mount_tag=host 3. Mount on guest(!) with mount t 9p -o rw,relatime,sync,dirsync,trans=virtio,version=9p2000.L host /host 4. Try to create file on guest(!): touch /host/ttt Actual Results: File creation fails: Permission denied. Independent on host directory permissions. Expected Results: File creation succeeds, if host and guest permissions allow this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=734750
https://bugzilla.novell.com/show_bug.cgi?id=734750#c1
Matthias Hopf
https://bugzilla.novell.com/show_bug.cgi?id=734750
https://bugzilla.novell.com/show_bug.cgi?id=734750#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=734750
https://bugzilla.novell.com/show_bug.cgi?id=734750#c2
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com