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 %}
|
||||
</os>
|
||||
|
||||
{% if vm.hvm %}
|
||||
<features>
|
||||
<features>
|
||||
{% if vm.hvm %}
|
||||
<pae/>
|
||||
<acpi/>
|
||||
<apic/>
|
||||
<viridian/>
|
||||
</features>
|
||||
{% endif %}
|
||||
|
||||
{% if vm.devices['pci'] and vm.features.get('pci-e820-host', True) %}
|
||||
<xen>
|
||||
<e820_host state="on"/>
|
||||
</xen>
|
||||
{% endif %}
|
||||
</features>
|
||||
|
||||
{% if vm.hvm %}
|
||||
{% set timezone = vm.features.check_with_template('timezone', 'localtime').lower() %}
|
||||
{% if timezone == 'localtime' %}
|
||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||
|
Loading…
Reference in New Issue
Block a user