Call virBandwidthEnable after creating the LXC veth, so that any
bandwidth controls get applied
* src/lxc/lxc_driver.c: Enable bandwidth limiting
if (vethInterfaceUpOrDown(parentVeth, 1) < 0)
goto error_exit;
+ if (virBandwidthEnable(virDomainNetGetActualBandwidth(def->nets[i]),
+ def->nets[i]->ifname) < 0) {
+ lxcError(VIR_ERR_INTERNAL_ERROR,
+ _("cannot set bandwidth limits on %s"),
+ def->nets[i]->ifname);
+ goto error_exit;
+ }
+
if (def->nets[i]->filter &&
virDomainConfNWFilterInstantiate(conn, def->nets[i]) < 0)
goto error_exit;