On Tue, Feb 23, 2010 at 12:31:07PM -0500, Stefan Berger wrote:
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>
+ ...
+ <devices>
+ <interface type='direct'/>
+ ...
+ <interface type='direct'>
+ <source dev='eth0' mode='vepa'/>
+ </interface>
+ </devices>
+ ...</pre>
+
+
<h5><a name="elementsNICSEthernet">Generic ethernet
connection</a></h5>
<p>
ACK, though it might be nice to describe the difference between the modes
'vepa', 'bridge' or 'private' for people who are not so familiar
with this
support
Daniel
--
|: Red Hat, Engineering, London -o-
http://people.redhat.com/berrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org -o-
http://deltacloud.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|