]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: fix bad cut/paste in <teaming> example
authorLaine Stump <laine@redhat.com>
Tue, 23 Feb 2021 22:30:51 +0000 (17:30 -0500)
committerLaine Stump <laine@redhat.com>
Wed, 24 Feb 2021 17:33:33 +0000 (12:33 -0500)
When the parser and docs were enhanced to support a <teaming> element
in a generic <hostdev>, the example XML for formatdomain.rst was
cut/pasted from the example for <interface type='hostdev'>. In my
haste I neglected to remove the <mac address='blah'/> element (which
is unused/ignored for generic <hostdev> and change the closing tag
from </interface> to </hostdev>

https://bugzilla.redhat.com/1927984

Fixes: db64acfbda59ad22b671580fda13968c60bb8c1a
Reported-by: Yalan Zhang <yalzhang@redhat.com>
Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.rst

index e23bcc3e5a00983d76f24ead81dcb775914d9f56..937b0da012293790a5f8273abb26ccbf46be8c93 100644 (file)
@@ -4884,9 +4884,8 @@ plain ``<hostdev>`` device.
        <source>
          <address domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </source>
-       <mac address='00:11:22:33:44:55:66'/>
        <teaming type='transient' persistent='ua-backup0'/>
-     </interface>
+     </hostdev>
    ...
 
 This device must be a network device, but not necessarily an SRIOV