Export compile directory to guests

Use 9p over virtio to share files on the host with the guest domains.
The files are accessible in the guests /hostfs directory.
This commit is contained in:
Reto Buerki
2013-01-17 16:54:58 +01:00
committed by Tobias Brunner
parent 48ea1d8b0b
commit 0593b6c975
13 changed files with 61 additions and 14 deletions
+4
View File
@@ -6,6 +6,7 @@ echo "Stopping test environment"
NETWORKS="vnet1 vnet2 vnet3"
KNLTARGET=/var/run/kvm-swan-kernel
HOSTFSTARGET=/var/run/kvm-swan-hostfs
[ `id -u` -eq 0 ] || die "You must be root to run $0"
@@ -26,3 +27,6 @@ done
log_action "Removing kernel $KERNEL"
execute "rm $KNLTARGET"
log_action "Removing link to hostfs"
execute "rm $HOSTFSTARGET"