aboutsummaryrefslogtreecommitdiffstats
path: root/testing/config
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2013-01-16 11:58:01 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:55:04 +0100
commit2c4954ad249a4ae17f5c0b0e768538b212dc412c (patch)
tree12033e9592f7ec30c4b838aca023bbd29d4e1543 /testing/config
parent677795c3e7fe20e1e85138a14854b90e52d7f327 (diff)
downloadstrongswan-2c4954ad249a4ae17f5c0b0e768538b212dc412c.tar.bz2
strongswan-2c4954ad249a4ae17f5c0b0e768538b212dc412c.tar.xz
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
Diffstat (limited to 'testing/config')
-rw-r--r--testing/config/kvm/alice.xml2
-rw-r--r--testing/config/kvm/bob.xml2
-rw-r--r--testing/config/kvm/carol.xml2
-rw-r--r--testing/config/kvm/dave.xml2
-rw-r--r--testing/config/kvm/moon.xml2
-rw-r--r--testing/config/kvm/sun.xml2
-rw-r--r--testing/config/kvm/venus.xml2
-rw-r--r--testing/config/kvm/winnetou.xml2
8 files changed, 8 insertions, 8 deletions
diff --git a/testing/config/kvm/alice.xml b/testing/config/kvm/alice.xml
index 21683b878..6ca78f861 100644
--- a/testing/config/kvm/alice.xml
+++ b/testing/config/kvm/alice.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/bob.xml b/testing/config/kvm/bob.xml
index e11200802..d9a9b4c05 100644
--- a/testing/config/kvm/bob.xml
+++ b/testing/config/kvm/bob.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/carol.xml b/testing/config/kvm/carol.xml
index 3bd66f141..fbdabe2e4 100644
--- a/testing/config/kvm/carol.xml
+++ b/testing/config/kvm/carol.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/dave.xml b/testing/config/kvm/dave.xml
index 526df285a..bfebe9b60 100644
--- a/testing/config/kvm/dave.xml
+++ b/testing/config/kvm/dave.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/moon.xml b/testing/config/kvm/moon.xml
index 049299312..e019fcea5 100644
--- a/testing/config/kvm/moon.xml
+++ b/testing/config/kvm/moon.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/sun.xml b/testing/config/kvm/sun.xml
index e60129819..5ed1a47ea 100644
--- a/testing/config/kvm/sun.xml
+++ b/testing/config/kvm/sun.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/venus.xml b/testing/config/kvm/venus.xml
index bd00aa563..77a333655 100644
--- a/testing/config/kvm/venus.xml
+++ b/testing/config/kvm/venus.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
diff --git a/testing/config/kvm/winnetou.xml b/testing/config/kvm/winnetou.xml
index a23b2489c..99d5deb99 100644
--- a/testing/config/kvm/winnetou.xml
+++ b/testing/config/kvm/winnetou.xml
@@ -30,7 +30,7 @@
<controller type='usb' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
+ <filesystem type='mount' accessmode='mapped'>
<source dir='/var/run/kvm-swan-hostfs'/>
<target dir='/hostshare'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>