Introduce GIC feature

Some platforms, like aarch64, don't have APIC but GIC. So there's
no reason to have <apic/> feature turned on. However, we are
still missing <gic/> feature. This commit introduces the feature
to XML parser and formatter, adds documentation and updates RNG
schema.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik committed 2015-05-05 09:45:43 +02:00
1 parent fc3601a308
commit 921c52b0db
4 files changed
+58 -2

No files matched your search

+10
View File
@@ -1439,6 +1439,7 @@
&lt;hidden state='on'/&gt;
&lt;/kvm&gt;
&lt;pvspinlock/&gt;
&lt;gic version='2'/&gt;
&lt;/features&gt;
...</pre>
@@ -1545,6 +1546,15 @@
the emulation of VMWare IO port, for vmmouse etc.
<span class="since">Since 1.2.16</span>
</dd>
<dt><code>gic</code></dt>
<dd>Enable for architectures using a General Interrupt
Controller instead of APIC in order to handle interrupts.
For example, the 'aarch64' architecture uses
<code>gic</code> instead of <code>apic</code>. The optional
attribute <code>version</code> specifies the GIC version;
however, it may not be supported by all hypervisors. <span
class="since">Since 1.2.16</span>
</dd>
</dl>
<h3><a name="elementsTime">Time keeping</a></h3>
+10 -1
View File
@@ -3965,7 +3965,7 @@
</element>
</define>
<!--
A set of optional features: PAE, APIC, ACPI,
A set of optional features: PAE, APIC, ACPI, GIC,
HyperV Enlightenment, KVM features, paravirtual spinlocks and HAP support
-->
<define name="features">
@@ -4035,6 +4035,15 @@
</optional>
</element>
</optional>
<optional>
<element name="gic">
<optional>
<attribute name="version">
<ref name="positiveInteger"/>
</attribute>
</optional>
</element>
</optional>
</interleave>
</element>
</optional>