[libvirt] [PATCH] nwfilter: add support for RAPR protocol

Eric Blake eblake at redhat.com
Tue Apr 27 18:01:17 UTC 2010


On 04/23/2010 09:02 PM, Stefan Berger wrote:
> This patch adds support for the RARP protocol. This may be needed due to
> qemu sending out a RARP packet (at least that's what it seems to want to
> do even though the protocol id is wrong) when migration finishes and
> we'd need a rule to let the packets pass. 
> 
> Unfortunately my installation of ebtables does not understand -p RARP
> and also seems to otherwise depend on strings in /etc/ethertype
> translated to protocol identifiers. Therefore I need to pass -p 0x8035
> for RARP. To generally get rid of the dependency of that file I switch
> all so far supported protocols to use their protocol identifier in the
> -p parameter rather than the string.

Sounds nice.

>            <optional>
>              <zeroOrMore>
> +              <element name="rarp">
> +                <ref name="match-attribute"/>
> +                <ref name="common-l2-attributes"/>
> +                <ref name="arp-attributes"/> <!-- same as arp -->
> +              </element>
> +            </zeroOrMore>
> +          </optional>

XML looks okay.  And the refactoring into using an index looked good.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100427/f0265ae0/attachment-0001.sig>


More information about the libvir-list mailing list