]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: minor fixes to domain interface documentation
authorLaine Stump <laine@laine.org>
Mon, 11 Jun 2012 21:16:17 +0000 (17:16 -0400)
committerLaine Stump <laine@laine.org>
Mon, 11 Jun 2012 21:17:10 +0000 (17:17 -0400)
A few examples for <interface> had a type='direct' interface with no
sub-elements. This is not allowed - a type='direct' interface must
have at least a source element. (Most likely the example was copied
from the type='user' or type='ethernet' examples - they *do* allow an
instance with no sub-elements).

There was also one place that mistakenly used %lt; ... %gt; instead of
&lt; ... &gt; (for some reason, I make that typo all the time).

docs/formatdomain.html.in

index 95c3edc83b2f3d113dde6e585b9987c6211c22e1..b2e5db93a8bb8e27af8a441a30e8a376ce700d59 100644 (file)
 <pre>
   ...
   &lt;devices&gt;
-    &lt;interface type='direct'/&gt;
     ...
     &lt;interface type='direct'&gt;
       &lt;source dev='eth0' mode='vepa'/&gt;
 <pre>
   ...
   &lt;devices&gt;
-    &lt;interface type='direct'/&gt;
     ...
     &lt;interface type='direct'&gt;
       &lt;source dev='eth0.2' mode='vepa'/&gt;
   <pre>
   ...
   &lt;devices&gt;
-    &lt;interface type='direct'/&gt;
     ...
     &lt;interface type='direct'&gt;
       &lt;source dev='eth0' mode='private'/&gt;
       passthrough, after first optionally setting the device's MAC
       address to the configured value, and associating the device with
       an 802.1Qgh capable switch using an optionally specified
-      %lt;virtualport%gt; element (see the examples of virtualport
+      &lt;virtualport&gt; element (see the examples of virtualport
       given above for type='direct' network devices). Note that - due
       to limitations in standard single-port PCI ethernet card driver
       design - only SR-IOV (Single Root I/O Virtualization) virtual