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

Laine Stump laine at redhat.com
Tue Feb 23 22:42:21 UTC 2021


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 at redhat.com>
Signed-off-by: Laine Stump <laine at redhat.com>
---
 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




More information about the libvir-list mailing list