[libvirt] [PATCH] fix creating of openvz bridge device

Evgeniy V. Sokolov evg at parallels.com
Mon Sep 29 08:39:22 UTC 2008

>         This behaviour contradicts with description found in docs (in which
>         <source> tag specify interface in host, not in container). I think,
>         the previous bridge must be specified as
>           <interface type='bridge'>
>             <mac address='00:16:3e:34:21:9e'/>
>         -     <source bridge='eth10'/>
>         +     <target dev='eth10'/>
>           </interface>
>     You are right. It is bug.
> Well, here is the patch, that fixes that behaviour.

Your patch is half of fix. It require to fix openvzReadNetworkConf() in
> P.S. Are someone going to implement
>       <interface type='bridge'>
>          ...
>           <source bridge="...">
>          ...
>        </interface>
> part of openvz driver? :)
I plan to implement it in a month.
It will be fine if you are ready to develop the feature.

More information about the libvir-list mailing list