]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: nodedev: Fix schema attribute value for the 'vport_ops' capability
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Aug 2022 08:34:58 +0000 (10:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 1 Sep 2022 11:11:09 +0000 (13:11 +0200)
The code (since 448be8f706693327d77) useds 'vport_ops' in XML.
Later commit cc17f09246212ef added schema for 'vports_ops' (extra 's').
Fix the schema and the corresponding docs.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2121262
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatnode.rst
src/conf/schemas/nodedev.rng

index 5903cac7fe59c569422e58ae91be03b8c746f24d..61c2a0965ffd08dda3af97f9cdfae614a8e2e056 100644 (file)
@@ -250,7 +250,7 @@ Describes a SCSI host device. Sub-elements include:
    scsi_host adapter in a `Storage Pool <formatstorage.html>`__.
    :since:`Since 1.2.7`
 ``capability``
-   Current capabilities include "vports_ops" (indicates vport operations
+   Current capabilities include "vport_ops" (indicates vport operations
    are supported) and "fc_host". "vport_ops" could contain two optional
    sub-elements: ``vports``, and ``max_vports``. ``vports`` shows the
    number of vport in use. ``max_vports`` shows the maximum vports the HBA
index e40243e2571de545dd584a1588cc4c3e4ec87d62..6299c5267193963843d5585746321dd517323fc5 100644 (file)
 
   <define name="capsvports">
     <attribute name="type">
-      <value>vports_ops</value>
+      <value>vport_ops</value>
     </attribute>
     <element name="max_vports">
       <ref name="unsignedInt"/>