]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add descriptions for macvtap direct type interfaces
authorStefan Berger <stefanb@us.ibm.com>
Wed, 24 Feb 2010 09:29:23 +0000 (10:29 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 24 Feb 2010 09:29:23 +0000 (10:29 +0100)
This adds a description about the 'direct' type of interface recently
added for macvtap device type support on the host.

docs/formatdomain.html.in

index 32122090caa5e4e5154322612908b1d439d6aee9..c4ba54f687023b1c11babe3ed533223897d43235 100644 (file)
   &lt;/devices&gt;
   ...</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="elementsNICSMulticast">Multicast tunnel</a></h5>
 
     <p>