]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Document <sndbuf/>
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Jan 2017 11:43:21 +0000 (12:43 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Jan 2017 15:18:33 +0000 (16:18 +0100)
This element has been introduced in fe053dbea7, but isn't
documented yet. After exactly 6 years I guess we can finally
document it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.html.in

index 39f5a8823a68ac0b5b1b4cf5c7839fbf071ca307..30cb196261e9af329b899b3f587c3e081d171bae 100644 (file)
@@ -4975,6 +4975,9 @@ qemu-kvm -net nic,model=? /dev/null
     &lt;model type='virtio'/&gt;
     <b>&lt;backend tap='/dev/net/tun' vhost='/dev/vhost-net'/&gt;</b>
     &lt;driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/&gt;
+    <b>&lt;tune&gt;
+      &lt;sndbuf&gt;1600&lt;/sndbuf&gt;
+    &lt;/tune&gt;</b>
   &lt;/interface&gt;
 &lt;/devices&gt;
 ...</pre>
@@ -4985,7 +4988,12 @@ qemu-kvm -net nic,model=? /dev/null
       device path (<code>/dev/vhost-net</code>) for devices with <code>virtio</code> model.
       The <code>tap</code> attribute overrides the tun/tap device path (default:
       <code>/dev/net/tun</code>) for network and bridge interfaces. This does not work
-      in session mode.
+      in session mode. <span class="since">Since 1.2.9</span>
+    </p>
+    <p>
+      For tap devices there is also <code>sndbuf</code> element which can
+      adjust the size of send buffer in the host. <span class="since">Since
+      0.8.8</span>
     </p>
     <h5><a name="elementsNICSTargetOverride">Overriding the target element</a></h5>