Re: [PATCH] network: use bandwidth from portgroup when appropriate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/16/2013 10:53 AM, Laine Stump wrote:
> The bandwidth plug and unplug functions were assuming that an
> interface's bandwidth setting was always specified directly in the
> domain's <interface> definition, but that's not necessarily true - it
> could have been obtained from a <portgroup> definition in the network
> definition. This patch fixes those functions to use
> virDomainNetGetActualBandwidth(), which gets the bandwidth pointer
> from iface->data.network.actual if it exists, otherwise returns
> iface->bandwidth.
> ---
>  src/network/bridge_driver.c | 19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]