[libvirt] [PATCH] openvz: swap <source bridge=...> with <target dev=...>

Anton Protopopov aspsk2 at gmail.com
Mon Sep 29 10:17:03 UTC 2008


2008/9/29 Evgeniy V. Sokolov <evg at parallels.com>

>
>
>>        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
> openvz_conf.c.
>

Here is a new one. Check it, please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080929/de4fef04/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt_openvz_swap_source_bridge_with_target_dev.patch
Type: application/octet-stream
Size: 1500 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080929/de4fef04/attachment-0001.obj>


More information about the libvir-list mailing list