conf: add <acpi><table> to <os>

Add a new element to <domain> XML:
<os>
  <acpi>
    <table type="slic">/path/to/acpi/table/file</table>
  </acpi>
</os>

To supply a path to a SLIC (Software Licensing) ACPI
table blob.

https://bugzilla.redhat.com/show_bug.cgi?id=1327537
This commit is contained in:
Ján Tomko
2016-04-18 17:13:02 +02:00
parent c81415065e
commit 72f652da63
7 changed files with 140 additions and 0 deletions

View File

@@ -277,6 +277,9 @@
&lt;initrd&gt;/root/f8-i386-initrd&lt;/initrd&gt;
&lt;cmdline&gt;console=ttyS0 ks=http://example.com/f8-i386/os/&lt;/cmdline&gt;
&lt;dtb&gt;/root/ppc.dtb&lt;/dtb&gt;
&lt;acpi&gt;
&lt;table type='slic'&gt;/path/to/slic.dat&lt;/table&gt;
&lt;/acpi&gt;
&lt;/os&gt;
...</pre>
@@ -302,6 +305,11 @@
<dd>The contents of this element specify the fully-qualified path
to the (optional) device tree binary (dtb) image in the host OS.
<span class="since">Since 1.0.4</span></dd>
<dt><code>acpi</code></dt>
<dd>The <code>table</code> element contains a fully-qualified path
to the ACPI table. The <code>type</code> attribute contains the
ACPI table type (currently only <code>slic</code> is supported)
<span class="since">Since 1.3.5 (QEMU only)</span></dd>
</dl>
<h4><a name="elementsOSContainer">Container boot</a></h4>

View File

@@ -306,6 +306,9 @@
<optional>
<ref name="bios"/>
</optional>
<optional>
<ref name="acpiTable"/>
</optional>
</interleave>
</element>
</define>
@@ -4505,6 +4508,21 @@
</data>
</define>
<define name="acpiTable">
<element name="acpi">
<zeroOrMore>
<element name="table">
<attribute name="type">
<choice>
<value>slic</value>
</choice>
</attribute>
<ref name="absFilePath"/>
</element>
</zeroOrMore>
</element>
</define>
<define name="smbios">
<element name="smbios">
<attribute name="mode">