Handle host e820 memory map feature
This is port of marmarek's "core: add pci_e820_host property" QubesOS/qubes-issues#2019
This commit is contained in:
parent
8de987443c
commit
129f55fe36
@ -19,14 +19,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</os>
|
</os>
|
||||||
|
|
||||||
{% if vm.hvm %}
|
|
||||||
<features>
|
<features>
|
||||||
|
{% if vm.hvm %}
|
||||||
<pae/>
|
<pae/>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if vm.devices['pci'] and vm.features.get('pci-e820-host', True) %}
|
||||||
|
<xen>
|
||||||
|
<e820_host state="on"/>
|
||||||
|
</xen>
|
||||||
|
{% endif %}
|
||||||
</features>
|
</features>
|
||||||
|
|
||||||
|
{% if vm.hvm %}
|
||||||
{% set timezone = vm.features.check_with_template('timezone', 'localtime').lower() %}
|
{% set timezone = vm.features.check_with_template('timezone', 'localtime').lower() %}
|
||||||
{% if timezone == 'localtime' %}
|
{% if timezone == 'localtime' %}
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
|
Loading…
Reference in New Issue
Block a user