core-admin/vm-config/xen-vm-template-hvm.xml
Wojtek Porczyk 75c3f355db qubes/vm/qubesvm: fix domain's UUID management
Now we generate UUID on domain's instantiation. This is needed, because
we sometimes don't update XML (like in qvm-start).

fixes QubesOS/qubes-issues#1236
2015-10-05 12:46:14 +02:00

36 lines
917 B
XML

<domain type='xen'>
<name>{name}</name>
<uuid>{uuid}</uuid>
<memory unit='MiB'>{maxmem}</memory>
<currentMemory unit='MiB'>{mem}</currentMemory>
<vcpu placement='static'>{vcpus}</vcpu>
<os>
<type arch='x86_64' machine='xenfv'>hvm</type>
<loader>hvmloader</loader>
<boot dev='cdrom'/>
<boot dev='hd'/>
{disable_network1}<cmdline>-net lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}</cmdline>{disable_network2}
</os>
<features>
<pae/>
<acpi/>
<apic/>
<viridian/>
</features>
<clock offset='variable' adjustment='{timeoffset}' basis='{time_basis}'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator type='stubdom'/>
{rootdev}
{privatedev}
{otherdevs}
{netdev}
{pcidevs}
<input type='tablet' bus='usb'/>
<video type='vga'/>
</devices>
</domain>