<tt><font size=2>Eric Blake <eblake@redhat.com> wrote on 01/16/2013
07:48:17 PM:<br>
<br>
> From: Eric Blake <eblake@redhat.com></font></tt>
<br><tt><font size=2>> To: Reinier Schoof <reinier@transip.nl>,
</font></tt>
<br><tt><font size=2>> Cc: libvir-list@redhat.com, Stefan Berger/Watson/IBM@IBMUS</font></tt>
<br><tt><font size=2>> Date: 01/16/2013 07:49 PM</font></tt>
<br><tt><font size=2>> Subject: Re: [libvirt] iptables --physdev-out
warnings</font></tt>
<br><tt><font size=2>> <br>
> On 01/16/2013 03:23 AM, Reinier Schoof wrote:<br>
> > <br>
> > I patched the libvirt source (version 1.0.0) to test whether
this works<br>
> > or not:<br>
> > --- src/nwfilter/nwfilter_ebiptables_driver.c.orig    
 2013-01-16<br>
> > 10:51:43.000000000 +0100<br>
> > +++ src/nwfilter/nwfilter_ebiptables_driver.c   2013-01-16<br>
> > 10:52:07.000000000 +0100<br>
> > @@ -166,7 +166,7 @@<br>
> >      snprintf(buf, sizeof(buf), "%c%c-%s",
prefix[0], prefix[1], ifname)<br>
> > <br>
> >  #define PHYSDEV_IN  "--physdev-in"<br>
> > -#define PHYSDEV_OUT "--physdev-out"<br>
> > +#define PHYSDEV_OUT "--physdev-is-bridged --physdev-out"<br>
> > <br>
> <br>
> Thanks for the report, and also for a quick patch attempt.<br>
> <br>
> >  The warnings in /var/log/messages are gone and running
the test again<br>
> > proved the 100th VM started in 3.8 seconds. It suprises me I'm
the first<br>
> > to mention this problem on the libvirt mailing list and I wondering
if<br>
> > I'm doing something wrong. Until then, this fix helps me a lot!<br>
> <br>
> I took a look on RHEL 5.9, to see if --physdev-is-bridged was supported<br>
> in iptables that old (1.3.5).  It appears to be listed there,
so you are<br>
> in luck.<br>
> <br>
> It would be nice if you can convert this to a formal git patch<br>
> submission (see </font></tt><a href=http://libvirt.org/hacking.html><tt><font size=2>http://libvirt.org/hacking.html</font></tt></a><tt><font size=2>);
but if you are not<br>
> comfortable doing that, we can help.  I'd like to see if Laine
or Stefan<br>
> have any comments; but if they don't reject this in another day or
two,<br>
> I have no problems going ahead and applying it.</font></tt>
<br>
<br><tt><font size=2>It looks good to me. please go ahead.</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>   Stefan</font></tt>
<br>
<br><tt><font size=2> </font></tt>