On 07/18/2011 09:59 AM, Jiri Denemark wrote:
One more thing. Would it be possible to also implement new APIs to
manage
network bandwidth on-the-fly? It's not for this patchset but is does sound
like a good idea to have the possibility to, for example, restrict bandwidth
of a running domain since more domains need to use the network or increase the
bandwidth because host's owner got more money from domain's owner :-)
As a matter of fact, this would be a nice feature for many network (and
other) settings. For example, right now if you add a host to the static
host mappings in a network, you must restart that network for it to take
effect. Restarting a network disconnects all the guest interfaces using
that network, and either the guests must be restarted, or at the very
least their interfaces must be manually detached and reattached. In
reality, though all that's needed is to update a text file on disk and
SIGHUP dnsmasq.