<br><tt><font size=2>"Daniel P. Berrange" <berrange@redhat.com>
wrote on 01/26/2010 04:21:56 PM:<br>
<br>
</font></tt>
<br><tt><font size=2>> <br>
> libvir-list, gerhard.stenzel, Vivek Kashyap, arndb</font></tt>
<br><tt><font size=2>> <br>
> Please respond to "Daniel P. Berrange"</font></tt>
<br><tt><font size=2>> <br>
> On Mon, Jan 25, 2010 at 12:47:17PM -0500, Stefan Berger wrote:<br>
> > Hello!<br>
> > <br>
> >  The attached patch provides support for the Linux macvtap
device for<br>
> > Qemu by passing a file descriptor to Qemu command line similar
to how it<br>
> > is done with a regular tap device. I have modified the network
XML code<br>
> > to understand a definition as the following one here:<br>
> > <br>
> > <network><br>
> >   <name>vepanet</name><br>
> >   <uuid>4ebd5168-6321-4757-8397-f6e83484f402</uuid><br>
> >   <extbridge mode='vepa' dev='eth0'/><br>
> > </network><br>
> <br>
> I don't think this is the correct place to be adding this kind<br>
> of configuration / functionality. The virNetworkPtr / <network><br>
> XML is describing a virtual network capability which is *not*<br>
> directly connected to the LAN. It may be configured to route<br>
> from the virtual network to the LAN, with optional NAT applied.<br>
> So while the implementation may use a bridge device, this bridge<br>
> is not connected to any physical device. Since VEPA is about<br>
> directly connecting VMs to the LAN, this doesn't really fit here.</font></tt>
<br>
<br><tt><font size=2>Yes, I have re-purposed the network XML to describe
an external bride.</font></tt>
<br>
<br><tt><font size=2>There's the following advantage to this:</font></tt>
<br>
<br><tt><font size=2>- you can migrate a VM between machines that have
different types of connectivity, i.e, tap and macvtap</font></tt>
<br>
<br><tt><font size=2>- pushing the eth0 into referenced XML makes it independent
of the local configuration of the host, i.e,</font></tt>
<br><tt><font size=2>  on the one host it may be eth0 and on the other
eth1. eth0 in the above XML could be a physical adapter,</font></tt>
<br><tt><font size=2>  or an SR-IOV physical adapter or virtual function
of an SR-IOV adapter.</font></tt>
<br><tt><font size=2><br>
> <br>
> I'm not sure how familiar people are with the current libvirt<br>
> object model, so here's a 30 second overview<br>
> <br>
>  - virDomainPtr / <domain>  - management & configuration
of<br>
>    the virtual machines & their hardware.<br>
> <br>
>  - virNetworkPtr / <network> - virtual networks, either
isolated<br>
>    or routed (+NAT) to the LAN<br>
> <br>
>  - virInterfacePtr / <interface> - host interface configuration<br>
>    for physical devices, bridge, bonding & vlan devices</font></tt>
<br><tt><font size=2>> <br>
>  - virNodeDevPtr / <device>  - host device enumeration
/ discovery<br>
> </font></tt>
<br>
<br><tt><font size=2>Thanks. </font></tt>
<br>
<br><tt><font size=2>[...]<br>
> <br>
> One warning..<br>
> <br>
>  - The <domain> XML also contains a element called <interface>
which<br>
>    declares a guest NIC. Be careful not to mix up with the
similarly<br>
>    named virInterfacePtr XML also using <interface>
refering to a<br>
>    host NIC.<br>
> <br>
> <br>
> In the context of bridging a guest to a plain ethernet device, these<br>
> fit together as follows<br>
> <br>
>  1. The virNodeDevPtr APIs are used to discover what physical
network<br>
>     devices exist, 'eth0'<br>
> <br>
>  2. The virInterfacePtr APIs are used to create a bridge on the
host<br>
>     br0, containing the physical device 'eth0'</font></tt>
<br>
<br>
<br><tt><font size=2>Yes, I suppose this is all done via 'virsh iface-*'
commands.</font></tt>
<br>
<br>
<br><tt><font size=2><br>
> > <br>
> > <br>
> > This XML indicates the device that links to the external bridge,
here<br>
> > eth0, and the mode this device is supposed to be set into, here
'vepa'.<br>
> > If 'extbridge' is found in the XML, all other XML elements that
have<br>
> > been used so far, i.e., bridge, ip, dhcp, etc., are ignored.<br>
> > The above network description can then be referenced from the
virtual<br>
> > machine definition using the typical interface description of
type<br>
> > 'network':<br>
> > <br>
> >     <interface type='network'><br>
> >       <source network='vepanet'/><br>
> >       <model type='virtio'/><br>
> >     </interface><br>
> > <br>
> > <br>
> > The above network XML holds the necessary parameters to open
a macvtap<br>
> > device. Using command line, one would issue the following command
to<br>
> > achieve the same what now libvirt does internally, using a patched<br>
> > version of the 'ip' command:<br>
> > <br>
> > ip link add link eth0 <optional name of if> type macvtap
mode vepa<br>
> > <br>
> > This then creates the network interface, i.e., macvtap12, along
with<br>
> > entries in /sys/class/net/macvtap12/ where the content of the
ifindex<br>
> > file returns the integer necessary to build the /dev/tap%d device
to<br>
> > open the file descriptor of and pass to qemu via command line
argument.<br>
> <br>
> So every guest VM NIC gets a new uniqely named macvtap device, and<br>
> and unqiue TAP device ? </font></tt>
<br>
<br>
<br><tt><font size=2>Yes, macvtap device creates a macvtap%d interface
and a /dev/tap%d char device for sending an receiving of packets.</font></tt>
<br>
<br>
<br><tt><font size=2><br>
> <br>
> IIUC, with a macvlan + a regular NIC we'd thus be seeing something<br>
> like this arrangement ..<br>
> <br>
>                   /->
macvtap0 -> tap0 -> vm0<br>
>   pcidev0 -> eth0 --> macvtap1 -> tap1 -> vm1<br>
>                   \->
macvtap2 -> tap2 -> vm2<br>
> <br>
</font></tt>
<br><tt><font size=2>correct.</font></tt>
<br>
<br><tt><font size=2>> <br>
> I guess you could also use this with an SR-IOV card too<br>
> <br>
>   pcidev0 -> eth0 -> macvtap0 -> tap0 -> vm0<br>
>      |<br>
>   pcidev1 -> eth1 -> macvtap1 -> tap1 -> vm1<br>
>      |<br>
>   pcidev2 -> eth2 -> macvtap2 -> tap2 -> vm2<br>
> <br>
> Also, again there's no reason why we'd need to restrict ourselves<br>
> to only using a single macvtap device with each ethX device / virtual<br>
> function.<br>
> <br>
> The core question to me is whether we need to introduce any new<br>
> configuration parameters at the host level. It looks to me like<br>
> it can all be done against the guest XML <interface> element.<br>
> <br>
> Specifically, I don't see a need to manage the macvtapN devices <br>
> directly via the virInterfacePtr APIs. This is good, because<br>
> that is all delegated to the netcf library, which in turn is<br>
> just a way to read/write the /etc/sysconfig/networking-scripts.</font></tt>
<br>
<br><tt><font size=2>Yes, macvtaps need to be created on the fly every
time for every VM that starts and wants to use macvtap. From the perspective
of the macvtap what matters it the device it is linked to, i.e., eth0 or
eth1.</font></tt>
<br>
<br><tt><font size=2><br>
> These ifcfg-XXX files have no knowledge of macvtap, and so<br>
> plumbing all that through the networking-scripts, netcf and<br>
> libvirt virInterfacePtr APIs is non-trivial work we'd be better<br>
> off avoiding unless there was a clear compelling need.<br>
> </font></tt>
<br><tt><font size=2><br>
> So unless I'm missing something major in my reasoning here I think<br>
> in the domain XML we end up with two possible configs for guest<br>
> network interfaces<br>
> <br>
> <br>
> 1. The current one using plain Linux software bridging, which<br>
>    we can't change in an incompatible way<br>
> <br>
>     <interface type='bridge'/><br>
>        <source bridge='br0'/><br>
>        <target dev='vnet0'/><br>
>     </interface><br>
> <br>
>    Here, the source device is a bridge previously setup<br>
>    to have a physical device enslaved (regular or SR-IOV)<br>
>    The target device is the plain TAP device</font></tt>
<br>
<br><tt><font size=2>plain TAP device -> no need for change here.</font></tt>
<br><tt><font size=2><br>
> <br>
> 2. A new one using hardware bridging, which we can freely<br>
>    define for our new needs<br>
> <br>
>     <interface type='direct'/><br>
>       <source dev='eth0' mode='vepa|pepa|bridge'/><br>
>       <target dev='vnet0'/><br>
>     </interface></font></tt>
<br>
<br><tt><font size=2>In contrast to the ACLs ( :-) ), where I would regard
the ACLs as VM-attached data that ideally would migrate along when the
VM migrates between hosts, in the case of this network attachment I'd not
put host-specific information in the domain XML as is the case here with
the 'eth0'. Who knows, maybe it's going to be the SR-IOV virtual adapter
eth10 on the destination side? With the redirection into the network XML
(or similar) one could define a network XML per VM, create that with host-specific
information on the destination, i.e., eth10, and then migrate the VM previously
linked to eth0 via macvtap that then connected via eth10. It's more work
for upper layers, but if there is a need for optimization for throughput,
then maybe that's the only way that optimizations can be done. Otherwise
if all VMs in the data center are created with above XML and eth0 then
they will all need to stay on eth0 I suppose.</font></tt>
<br>
<br><tt><font size=2>In this context, how will the virtual functions of
SR-IOV be administered and given to VMs. I suppose their management would
be left up to higher layers?</font></tt>
<br><tt><font size=2><br>
> <br>
>    Here, source device is a physical device (regular or<br>
>    SR-IOV). The target device is a macvtap device.<br>
> <br>
> In both cases the TAP or macvtap device is created on the fly when
the<br>
> VM is booted & destroyed at shutdown (either by the kernel, or
manually<br>
> by libvirt for macvtap).</font></tt>
<br>
<br><tt><font size=2>Yes, as long as libvirt is running when the VM goes
down it can delete the macvtap device. If not, I am trying to delete all
macvtap devices at VM startup using the MAC address of the VM (which the
macvtap inherits) as search/delete criterion.</font></tt>
<br><tt><font size=2><br>
> <br>
> Both configs are ultimately a form of 'bridging', the difference is<br>
> that the former is focused on software bridges, as explicitly managed<br>
> objects separate from the physical device, while the latter is hardware<br>
> bridges which don't need to be managed separately.<br>
> <br>
> <br>
> > Some details:<br>
> > <br>
> > In libvirt I am first searching for an unused interface name
following<br>
> > the template macvtap%d unless the user has provided a name explicitly<br>
> > or the previous macvtap%d is now taken by another VM. Once that
has<br>
> > succeeded, I follow the path through the filesystem to open the<br>
> > corresponding /dev/tap%d.<br>
> > Unlike the regular tap device, where the network interface disappears<br>
> > once the corresponding file descriptor is closed, the macvtap
device<br>
> > needs explicit tear-down. So, when a VM terminates, I am deleting
all<br>
> > macvtap type interface with the MAC address as the interface
of the<br>
> > terminating VM.<br>
> <br>
> Ok, this plan all makes sense. The only thing is that if we want to<br>
> allow the user to manually specify a macvtap name, we should declare<br>
> that they are not allowed to use the prefix 'macvtap' for their name.<br>
> We do similar with TAP, where we declare 'vnet' is a reserved prefix<br>
> for auto-generated names.</font></tt>
<br>
<br>
<br><tt><font size=2>Yes, somehow this will need to be documented.</font></tt>
<br>
<br><tt><font size=2><br>
> <br>
> <br>
> > Index: libvirt/src/qemu/qemu_conf.c<br>
> > ===================================================================<br>
> > --- libvirt.orig/src/qemu/qemu_conf.c<br>
> > +++ libvirt/src/qemu/qemu_conf.c<br>
> > @@ -52,6 +52,7 @@<br>
> >  #include "nodeinfo.h"<br>
> >  #include "logging.h"<br>
> >  #include "network.h"<br>
> > +#include "macvtap.h"<br>
> >  #include "cpu/cpu.h"<br>
> >  <br>
> >  #define VIR_FROM_THIS VIR_FROM_QEMU<br>
> > @@ -1384,6 +1385,34 @@ int qemudExtractVersion(virConnectPtr
co<br>
> >  }<br>
> >  <br>
> >  <br>
> > +static int<br>
> > +qemudPhysIfaceConnect(virConnectPtr conn,<br>
> > +                  
   virDomainNetDefPtr net,<br>
> > +                  
   char *linkdev,<br>
> > +                  
   char *brmode)<br>
> > +{<br>
> > +    int rc;<br>
> > +#if defined(WITH_MACVTAP)<br>
> > +    char *res_ifname = NULL;<br>
> > +    delMacvtapByMACAddress(conn, net->mac);<br>
> > +    rc = openMacvtapTap(conn, net->ifname, net->mac,
linkdev, brmode,<br>
> > +                  
     &res_ifname);<br>
> > +    if (rc > 0) {<br>
> > +        VIR_FREE(net->ifname);<br>
> > +        net->ifname = res_ifname;<br>
> > +    }<br>
> > +#else<br>
> > +    (void)net;<br>
> > +    (void)linkdev;<br>
> > +    (void)brmode;<br>
> > +    qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,<br>
> > +                  
  "%s", _("No support for macvtap device"));<br>
> > +    rc = -1;<br>
> > +#endif<br>
> > +    return rc;<br>
> > +}<br>
> > +<br>
> > +<br>
> >  int<br>
> >  qemudNetworkIfaceConnect(virConnectPtr conn,<br>
> >                  
        struct qemud_driver *driver,<br>
> > @@ -1395,6 +1424,7 @@ qemudNetworkIfaceConnect(virConnectPtr
c<br>
> >      int tapfd = -1;<br>
> >      int vnet_hdr = 0;<br>
> >      int template_ifname = 0;<br>
> > +    char *brmode = NULL;<br>
> >  <br>
> >      if (net->type == VIR_DOMAIN_NET_TYPE_NETWORK)
{<br>
> >          virNetworkPtr network = virNetworkLookupByName(conn,<br>
> > @@ -1402,6 +1432,15 @@ qemudNetworkIfaceConnect(virConnectPtr
c<br>
> >          if (!network)<br>
> >              return -1;<br>
> >  <br>
> > +        if (virNetworkGetExtbridgeData(network,
&brname, &brmode) == 0) {<br>
> > +            tapfd = qemudPhysIfaceConnect(conn,
net,<br>
> > +                  
                     
 brname,<br>
> > +                  
                     
 brmode);<br>
> > +            VIR_FREE(brname);<br>
> > +            VIR_FREE(brmode);<br>
> > +            return tapfd;<br>
> > +        }<br>
> > +<br>
> >          brname = virNetworkGetBridgeName(network);<br>
> >  <br>
> >          virNetworkFree(network);<br>
> <br>
> As mentioned earlier, we don't want to touch the VIR_DOMAIN_NET_TYPE_NETWORK<br>
> case, since that's not bridging - its separate virtal networks using
NAT.<br>
> If my idea above is acceptable, we'd be adding a new <br>
> VIR_DOMAIN_NET_TYPE_DIRECT<br>
> that we'd hook up.</font></tt>
<br>
<br><tt><font size=2>Understood, but the redirection into a referenced
XML does have its advantages.</font></tt>
<br><tt><font size=2><br>
> <br>
> > Index: libvirt/src/util/macvtap.h<br>
> > ===================================================================<br>
> > --- /dev/null<br>
> > +++ libvirt/src/util/macvtap.h<br>
> > @@ -0,0 +1,48 @@<br>
> > +/*<br>
> > + * Copyright (C) 2010 IBM Corporation<br>
> > + *<br>
> > + * This library is free software; you can redistribute it and/or<br>
> > + * modify it under the terms of the GNU Lesser General Public<br>
> > + * License as published by the Free Software Foundation; either<br>
> > + * version 2.1 of the License, or (at your option) any later
version.<br>
> > + *<br>
> > + * This library is distributed in the hope that it will be useful,<br>
> > + * but WITHOUT ANY WARRANTY; without even the implied warranty
of<br>
> > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
the GNU<br>
> > + * Lesser General Public License for more details.<br>
> > + *<br>
> > + * You should have received a copy of the GNU Lesser General
Public<br>
> > + * License along with this library; if not, write to the Free
Software<br>
> > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307  USA<br>
> > + *<br>
> > + * Authors:<br>
> > + *     Stefan Berger <stefanb@us.ibm.com><br>
> > + */<br>
> > +<br>
> > +#ifndef __UTIL_MACVTAP_H__<br>
> > +#define __UTIL_MACVTAP_H__<br>
> > +<br>
> > +#include <config.h><br>
> > +<br>
> > +#if defined(WITH_MACVTAP)<br>
> > +<br>
> > +#include "internal.h"<br>
> > +<br>
> > +int openMacvtapTap(virConnectPtr conn,<br>
> > +                  
const char *ifname,<br>
> > +                  
const unsigned char *macaddress,<br>
> > +                  
const char *linkdev,<br>
> > +                  
const char *mode,<br>
> > +                  
char **res_ifname);<br>
> > +<br>
> > +int delMacvtapByMACAddress(virConnectPtr conn,<br>
> > +                  
        const unsigned char *macaddress);<br>
> <br>
> As an interface for internal usage, this looks like a fine<br>
> start.</font></tt>
<br>
<br><tt><font size=2>Thanks :-) </font></tt>
<br><tt><font size=2>As said, I am not trying to delete the macvtap by
interface name but by MAC address in case libvirt forgot about the MAC
address or there is a stale interface still around. This is where this
parameter comes from. Maybe an ioctl to delete-macvtap-on-tap-close could
solve the problem on the device level later on.</font></tt>
<br><tt><font size=2><br>
> <br>
> > +<br>
> > +#endif /* WITH_MACVTAP */<br>
> > +<br>
> > +#define MACVTAP_MODE_PRIVATE_STR  "private"<br>
> > +#define MACVTAP_MODE_VEPA_STR     "vepa"<br>
> > +#define MACVTAP_MODE_BRIDGE_STR   "bridge"<br>
> > +<br>
> > +<br>
> > +#endif<br>
> > Index: libvirt/src/Makefile.am<br>
> > ===================================================================<br>
> > --- libvirt.orig/src/Makefile.am<br>
> > +++ libvirt/src/Makefile.am<br>
> > @@ -55,6 +55,7 @@ UTIL_SOURCES =        
            \<br>
> >        util/ebtables.c util/ebtables.h  
      \<br>
> >        util/json.c util/json.h    
       \<br>
> >        util/logging.c util/logging.h  
      \<br>
> > +      util/macvtap.c util/macvtap.h    
    \<br>
> >        util/memory.c util/memory.h  
      \<br>
> >        util/pci.c util/pci.h    
       \<br>
> >        util/processinfo.c util/processinfo.h
     \<br>
> > @@ -784,12 +785,15 @@ if WITH_LINUX<br>
> >  USED_SYM_FILES += libvirt_linux.syms<br>
> >  endif<br>
> >  <br>
> > +USED_SYM_FILES += libvirt_macvtap.syms<br>
> > +<br>
> >  EXTRA_DIST += \<br>
> >    libvirt_public.syms      \<br>
> >    libvirt_private.syms      \<br>
> >    libvirt_driver_modules.syms   \<br>
> >    libvirt_bridge.syms      \<br>
> > -  libvirt_linux.syms<br>
> > +  libvirt_linux.syms      \<br>
> > +  libvirt_macvtap.syms<br>
> >  <br>
> >  BUILT_SOURCES = libvirt.syms<br>
> >  <br>
> > Index: libvirt/src/util/macvtap.c<br>
> > ===================================================================<br>
> > --- /dev/null<br>
> > +++ libvirt/src/util/macvtap.c<br>
> > @@ -0,0 +1,664 @@<br>
> > +/*<br>
> > + * Copyright (C) 2010 IBM Corporation<br>
> > + *<br>
> > + * This library is free software; you can redistribute it and/or<br>
> > + * modify it under the terms of the GNU Lesser General Public<br>
> > + * License as published by the Free Software Foundation; either<br>
> > + * version 2.1 of the License, or (at your option) any later
version.<br>
> > + *<br>
> > + * This library is distributed in the hope that it will be useful,<br>
> > + * but WITHOUT ANY WARRANTY; without even the implied warranty
of<br>
> > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
the GNU<br>
> > + * Lesser General Public License for more details.<br>
> > + *<br>
> > + * You should have received a copy of the GNU Lesser General
Public<br>
> > + * License along with this library; if not, write to the Free
Software<br>
> > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307  USA<br>
> > + *<br>
> > + * Authors:<br>
> > + *     Stefan Berger <stefanb@us.ibm.com><br>
> > + */<br>
> > +<br>
> > +#include <config.h><br>
> > +<br>
> > +#if defined(WITH_MACVTAP)<br>
> <br>
> [snip].<br>
> <br>
> I've not had time to look at the details of this macvtap.c code yet,<br>
> but I assume its doing all you need :-) Is there any benefit to using<br>
> the network libnl.so library, rather than the ioctl()'s directly ?</font></tt>
<br><tt><font size=2> </font></tt>
<br>
<br><tt><font size=2>Haven't looked at that library and its API, but can
do so if it's documented. Would it be ok to keep the current implementation,
though?</font></tt>
<br>
<br><tt><font size=2><br>
> I'm  not too familiar with either, but we already use libnl.so
<br>
> indirectly via netcf, so don't be afraid of adding a dependancy<br>
> on the libnl.so library if you consider it to be useful.<br>
> <br>
> > Index: libvirt/src/conf/network_conf.c<br>
> > ===================================================================<br>
> > --- libvirt.orig/src/conf/network_conf.c<br>
> > +++ libvirt/src/conf/network_conf.c<br>
> <br>
> This file shouldn't get any changes really.<br>
> <br>
> > Index: libvirt/src/libvirt.c<br>
> > ===================================================================<br>
> > --- libvirt.orig/src/libvirt.c<br>
> > +++ libvirt/src/libvirt.c<br>
> > @@ -6034,6 +6034,48 @@ error:<br>
> >      return NULL;<br>
> >  }<br>
> >  <br>
> > +<br>
> > +/**<br>
> > + * virNetworkGetExtbridgeData:<br>
> > + * @network: a network object<br>
> > + * @linkdev : pointer where name of the interface to connect
to <br>
> the external<br>
> > + *            bridge is returned<br>
> > + * @brmode  : pointer where mode of the external bridge
is returned<br>
> > + *<br>
> > + * Returns 0 in case an external bridge has been configured,
-1 otherwise<br>
> > + */<br>
> > +int<br>
> > +virNetworkGetExtbridgeData(virNetworkPtr network,<br>
> > +                  
        char **linkdev, char **brmode)<br>
> > +{<br>
> > +    virConnectPtr conn;<br>
> > +    DEBUG("network=%p", network);<br>
> > +<br>
> > +    virResetLastError();<br>
> > +<br>
> > +    if (!VIR_IS_CONNECTED_NETWORK(network)) {<br>
> > +        virLibNetworkError(NULL, VIR_ERR_INVALID_NETWORK,
__FUNCTION__);<br>
> > +        virDispatchError(NULL);<br>
> > +        return -1;<br>
> > +    }<br>
> > +<br>
> > +    conn = network->conn;<br>
> > +<br>
> > +    if (conn->networkDriver && <br>
> conn->networkDriver->networkGetExtbridgeData) {<br>
> > +        int ret;<br>
> > +        ret = conn->networkDriver->networkGetExtbridgeData(network,<br>
> > +                  
                     
                  linkdev,<br>
> > +                  
                     
                  brmode);<br>
> > +        return ret;<br>
> > +    }<br>
> > +<br>
> > +    virLibConnError (conn, VIR_ERR_NO_SUPPORT, __FUNCTION__);<br>
> > +<br>
> > +    virDispatchError(network->conn);<br>
> > +    return -1;<br>
> > +}<br>
> <br>
> Also don't think we need to be adding extra public APIs for this,
if we<br>
> do it within scope of the domain XML.</font></tt>
<br>
<br><tt><font size=2>Correct.</font></tt>
<br><tt><font size=2><br>
> <br>
> <br>
> For the next submission, it'd be very helpful for review if you could<br>
> split it into 3 patches<br>
> <br>
>  1. Adding the extra domain XML syntax to src/conf/domain_conf.{h,c}<br>
>     and docs/schemas/domain.rng<br>
> <br>
>  2. Adding the macvtap helper code in src/util/macvtap.{h,c}<br>
> <br>
>  3. Implementation for the QEMU driver to use the stuff from
the first<br>
>     two patches.</font></tt>
<br>
<br><tt><font size=2>Will do.</font></tt>
<br>
<br><tt><font size=2>  Thanks and regards,</font></tt>
<br><tt><font size=2>     Stefan</font></tt>
<br>
<br><tt><font size=2><br>
> <br>
> Regards,<br>
> Daniel<br>
> -- <br>
> |: Red Hat, Engineering, London   -o-   </font></tt><a href=http://people.redhat.com/berrange/><tt><font size=2>http://people.redhat.com/berrange/</font></tt></a><tt><font size=2>
:|<br>
> |: </font></tt><a href=http://libvirt.org/><tt><font size=2>http://libvirt.org</font></tt></a><tt><font size=2>
 -o-  </font></tt><a href="http://virt-manager.org/"><tt><font size=2>http://virt-manager.org</font></tt></a><tt><font size=2>
 -o-  </font></tt><a href=http://ovirt.org/><tt><font size=2>http://ovirt.org</font></tt></a><tt><font size=2>
:|<br>
> |: </font></tt><a href=http://autobuild.org/><tt><font size=2>http://autobuild.org</font></tt></a><tt><font size=2>
      -o-         </font></tt><a href=http://search.cpan.org/~danberr/><tt><font size=2>http://search.cpan.org/~danberr/</font></tt></a><tt><font size=2>
:|<br>
> |: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF
F742 7D3B 9505 :|<br>
</font></tt>