75c3f355db
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
32 lines
822 B
XML
32 lines
822 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='xenpv'>linux</type>
|
|
<kernel>{kerneldir}/vmlinuz</kernel>
|
|
<initrd>{kerneldir}/initramfs</initrd>
|
|
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH 3 {kernelopts}</cmdline>
|
|
</os>
|
|
<clock offset='utc' adjustment='reset'>
|
|
<timer name="tsc" mode="native"/>
|
|
</clock>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
{rootdev}
|
|
{privatedev}
|
|
{volatiledev}
|
|
{otherdevs}
|
|
{netdev}
|
|
{pcidevs}
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
</devices>
|
|
</domain>
|
|
|