Switch to 'mapped' access mode for hostfs
authorReto Buerki <reet@codelabs.ch>
Wed, 16 Jan 2013 10:58:01 +0000 (11:58 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 17 Jan 2013 15:55:04 +0000 (16:55 +0100)
commit2c4954ad249a4ae17f5c0b0e768538b212dc412c
tree12033e9592f7ec30c4b838aca023bbd29d4e1543
parent677795c3e7fe20e1e85138a14854b90e52d7f327
Switch to 'mapped' access mode for hostfs

Passthrough mode only works as expected when running as root. On
Debian/Ubuntu systems qemu runs as user 'libvirt-qemu' and group 'kvm'
so all shared files must be chowned to grant access from guests.

Symlinks created on the host are still problematic because the Plan 9
filesystem has no direct notion of symbolic links, see [1].

[1] - http://ericvh.github.com/9p-rfc/rfc9p2000.u.html
14 files changed:
testing/config/kvm/alice.xml
testing/config/kvm/bob.xml
testing/config/kvm/carol.xml
testing/config/kvm/dave.xml
testing/config/kvm/moon.xml
testing/config/kvm/sun.xml
testing/config/kvm/venus.xml
testing/config/kvm/winnetou.xml
testing/hosts/default/etc/fstab
testing/make-testing
testing/scripts/build-guestkernel
testing/scripts/build-rootimage
testing/start-testing
testing/testing.conf