88cb62fcf6
Enable e820_host option for VMs with PCI devices (to allow VM kernel to deal with address space conflicts). But add a property to allow disabling it. Fixes QubesOS/qubes-issues#2019
39 lines
1018 B
XML
39 lines
1018 B
XML
<domain type='xen'>
|
|
<name>{name}</name>
|
|
{uuidnode}
|
|
<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'/>
|
|
</os>
|
|
<features>
|
|
<pae/>
|
|
<acpi/>
|
|
<apic/>
|
|
<viridian/>
|
|
{features}
|
|
</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>
|
|
{no_network_begin}<emulator type='stubdom'/>{no_network_end}
|
|
{network_begin}<emulator type='stubdom' cmdline='-net lwip,client_ip={ip},server_ip={dns2},dns={dns1},gw={gateway},netmask={netmask}'/>{network_end}
|
|
{rootdev}
|
|
{privatedev}
|
|
{otherdevs}
|
|
{netdev}
|
|
{pcidevs}
|
|
<input type='tablet' bus='usb'/>
|
|
<video type='vga'>
|
|
<model type='xen' vram='16384'/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|
|
|