[libvirt PATCH 2/2] docs: fix bad cut/paste in <teaming> example

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

 



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@xxxxxxxxxx>
Signed-off-by: Laine Stump <laine@xxxxxxxxxx>
---
 docs/formatdomain.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index e23bcc3e5a..937b0da012 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -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
-- 
2.29.2




[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]

  Powered by Linux