Re: [PATCH v3 2/3]doc: add NVRAM device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Any more comment?

Thanks.

On 2013年03月27日 13:07, Li Zhang wrote:
From: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx>

This patch is to add NVRAM docs in formatdomain.html.in
and domaincommon.rng

Signed-off-by: Li Zhang <zhlcindy@xxxxxxxxxxxxxxxxxx>
---
  docs/formatdomain.html.in     |   35 +++++++++++++++++++++++++++++++++++
  docs/schemas/domaincommon.rng |   10 ++++++++++
  2 files changed, 45 insertions(+)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 8a3c3b7..35f9c9b 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4365,6 +4365,41 @@ qemu-kvm -net nic,model=? /dev/null
</dl> + <h4><a name="elementsNVRAM">NVRAM device</a></h4>
+    <p>
+      One NVRAM device is always added to pSeries guests on PPC64.
+      And on PPC64, NVRAM devices' address type are VIO which
+      allows users to change.<code>nvram</code> element in XML file
+      is provided to specify its address.
+      Currently, libvirt only considers configuration for pSeries guests.
+    </p>
+    <p>
+      Example: usage of NVRAM configuration
+    </p>
+<pre>
+  ...
+  &lt;devices&gt;
+    &lt;nvram&gt;
+      &lt;address type='spapr-vio' reg='0x3000'/&gt;
+    &lt;/nvram&gt;
+  &lt;/devices&gt;
+  ...
+</pre>
+  <dl>
+    <dt><code>spapr-vio</code></dt>
+    <dd>
+      <p>
+        VIO device address type, this is only for PPC64.
+      </p>
+    </dd>
+    <dt><code>reg</code></dt>
+    <dd>
+      <p>
+        Devices' address
+      </p>
+    </dd>
+  </dl>
+
      <h3><a name="seclabel">Security label</a></h3>
<p>
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 9792065..3769d39 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2705,6 +2705,13 @@
        </optional>
      </element>
    </define>
+  <define name="nvram">
+    <element name="nvram">
+      <optional>
+        <ref name="address"/>
+      </optional>
+    </element>
+  </define>
    <define name="memballoon">
      <element name="memballoon">
        <attribute name="model">
@@ -3135,6 +3142,9 @@
          <optional>
            <ref name="memballoon"/>
          </optional>
+        <optional>
+          <ref name="nvram"/>
+        </optional>
        </interleave>
      </element>
    </define>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]