On Jun 24, 2011, at 9:34 AM, Michal Privoznik wrote:
>
> 3) Similarly for macvtap <network>s, will the network-wide bandwidth
> limiting be applied to the physical ethernet device? This would
> have the
> side effect of including host traffic on that interface in the
> bandwidth
> totals, but I don't see a way around it.
With this patch as-is, shaping rules are applied only when creating
TAP
devices. This mean only network types VIR_DOMAIN_NET_TYPE_NETWORK and
VIR_DOMAIN_NET_TYPE_BRIDGE
Bandwith management with macvtap devices does not work with this
approach
because the macvtap has no queue of its own, instead packets are
directly
queued to the corresponding ethX device.
For this to work it is necessary to create a MAC filter on the ethX
with the MAC of
the VM.
Regards,
D.Herrendoerfer