[libvirt] [PATCH 2/3] conf: support mtu attribute in a network's <bridge> element

Laine Stump laine at laine.org
Tue Jan 24 15:24:30 UTC 2017


On 01/24/2017 05:34 AM, Michal Privoznik wrote:
> On 01/23/2017 04:35 PM, Laine Stump wrote:
>> Example:
>>
>>    <network>
>>       ...
>>       <bridge name='virbr2' mtu='9000'/>
>>       ...
>>
> BTW: what if we want to set MTU over some different network types? For
> instance, if we have a network with a pool of phys NICs. Is it worth to
> set MTU there too? If so, then we might need to move the attribute out
> to a separate element:
>
>    <network>
>      <mtu size='9000'/>
>    </network>

That's an *excellent* point, especially since I was just last night 
thinking about extending the MTU setting to macvtap passthrough devices 
from a pool. Fortunately I haven't pushed the patches yet. I'll change 
everything accordingly and repost.




More information about the libvir-list mailing list