Export compile directory to guests
[strongswan.git] / testing / config / kvm / moon.xml
1 <domain type='kvm'>
2 <name>moon</name>
3 <uuid>b5e00ad3-1c81-3b2a-7f66-cdf8727b3c65</uuid>
4 <memory unit='KiB'>131072</memory>
5 <currentMemory unit='KiB'>131072</currentMemory>
6 <vcpu placement='static'>1</vcpu>
7 <os>
8 <type arch='x86_64' machine='pc-1.1'>hvm</type>
9 <kernel>/var/run/kvm-swan-kernel</kernel>
10 <cmdline>root=/dev/vda1 loglevel=1</cmdline>
11 <boot dev='hd'/>
12 </os>
13 <features>
14 <acpi/>
15 <apic/>
16 <pae/>
17 </features>
18 <clock offset='utc'/>
19 <on_poweroff>destroy</on_poweroff>
20 <on_reboot>restart</on_reboot>
21 <on_crash>restart</on_crash>
22 <devices>
23 <emulator>/usr/bin/kvm</emulator>
24 <disk type='file' device='disk'>
25 <driver name='qemu' type='qcow2' cache='writethrough'/>
26 <source file='/var/lib/libvirt/images/moon.qcow2'/>
27 <target dev='vda' bus='virtio'/>
28 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
29 </disk>
30 <controller type='usb' index='0'>
31 <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
32 </controller>
33 <filesystem type='mount' accessmode='passthrough'>
34 <source dir='/var/run/kvm-swan-hostfs'/>
35 <target dir='/hostshare'/>
36 <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
37 </filesystem>
38 <interface type='network'>
39 <mac address='52:54:00:43:e3:35'/>
40 <source network='vnet2'/>
41 <model type='virtio'/>
42 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
43 </interface>
44 <interface type='network'>
45 <mac address='52:54:00:c7:b8:b0'/>
46 <source network='vnet1'/>
47 <model type='virtio'/>
48 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
49 </interface>
50 <serial type='pty'>
51 <target port='0'/>
52 </serial>
53 <console type='pty'>
54 <target type='serial' port='0'/>
55 </console>
56 <input type='tablet' bus='usb'/>
57 <input type='mouse' bus='ps2'/>
58 <graphics type='vnc' port='-1' autoport='yes'/>
59 <sound model='ich6'>
60 <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
61 </sound>
62 <video>
63 <model type='cirrus' vram='9216' heads='1'/>
64 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
65 </video>
66 <memballoon model='virtio'>
67 <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
68 </memballoon>
69 </devices>
70 </domain>