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

[libvirt] [PATCH] [macvtap] interface type direct web docs addition



This adds a description about the 'direct' type of interface recently
added for macvtap device type support on the host.


Index: libvirt-macvtap/docs/formatdomain.html.in
===================================================================
--- libvirt-macvtap.orig/docs/formatdomain.html.in
+++ libvirt-macvtap/docs/formatdomain.html.in
@@ -674,6 +674,28 @@
   ...</pre>
 
 
+    <h5><a name="elementsNICSDirect">Direct attachment to physical interface</a></h5>
+
+    <p>
+      Provides direct attachment of the virtual machine's NIC to the given
+      physial interface of the host. This setup requires the Linux macvtap
+      driver to be available. One of the modes 'vepa', 'bridge' or 'private'
+      can be chosen for the operation mode of the macvtap device, 'vepa'
+      being the default mode.
+    </p>
+
+<pre>
+  ...
+  &lt;devices&gt;
+    &lt;interface type='direct'/&gt;
+    ...
+    &lt;interface type='direct'&gt;
+      &lt;source dev='eth0' mode='vepa'/&gt;
+    &lt;/interface&gt;
+  &lt;/devices&gt;
+  ...</pre>
+
+
     <h5><a name="elementsNICSEthernet">Generic ethernet connection</a></h5>
 
     <p>

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