diff options
author | Reto Buerki <reet@codelabs.ch> | 2012-12-17 19:00:31 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:54:58 +0100 |
commit | 0593b6c975684d61a7432c6593ef5a5a6bc7b21d (patch) | |
tree | c118999ce3a6dc3a2ea143ebbeff731809a116ca /testing/config/kvm/moon.xml | |
parent | 48ea1d8b0b9d6c6fb1eab5f4ea4ed00cde91c4c0 (diff) | |
download | strongswan-0593b6c975684d61a7432c6593ef5a5a6bc7b21d.tar.bz2 strongswan-0593b6c975684d61a7432c6593ef5a5a6bc7b21d.tar.xz |
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.
Diffstat (limited to 'testing/config/kvm/moon.xml')
-rw-r--r-- | testing/config/kvm/moon.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/config/kvm/moon.xml b/testing/config/kvm/moon.xml index 8e5769de2..049299312 100644 --- a/testing/config/kvm/moon.xml +++ b/testing/config/kvm/moon.xml @@ -25,11 +25,16 @@ <driver name='qemu' type='qcow2' cache='writethrough'/> <source file='/var/lib/libvirt/images/moon.qcow2'/> <target dev='vda' bus='virtio'/> - <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> + <filesystem type='mount' accessmode='passthrough'> + <source dir='/var/run/kvm-swan-hostfs'/> + <target dir='/hostshare'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> + </filesystem> <interface type='network'> <mac address='52:54:00:43:e3:35'/> <source network='vnet2'/> |