[libvirt] [PATCH] docs: Document <sndbuf/>

Michal Privoznik mprivozn at redhat.com
Thu Jan 12 11:49:19 UTC 2017


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 at redhat.com>
---
 docs/formatdomain.html.in | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 39f5a8823..30cb19626 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4975,6 +4975,9 @@ qemu-kvm -net nic,model=? /dev/null
     <model type='virtio'/>
     <b><backend tap='/dev/net/tun' vhost='/dev/vhost-net'/></b>
     <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='off' queues='5'/>
+    <b><tune>
+      <sndbuf>1600</sndbuf>
+    </tune></b>
   </interface>
 </devices>
 ...</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>
 
-- 
2.11.0




More information about the libvir-list mailing list