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:
committed by
Tobias Brunner
parent
48ea1d8b0b
commit
0593b6c975
@@ -30,6 +30,11 @@
|
||||
<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:9a:e2:de'/>
|
||||
<source network='vnet2'/>
|
||||
|
||||
Reference in New Issue
Block a user