• M
    bandwidth: Integrate bandwidth into portgroups · fe957f0a
    Michal Privoznik 提交于
    Every DomainNetDef has a bandwidth, as does every portgroup.
    Whenever a DomainNetDef of type NETWORK is about to be used, a call is
    made to networkAllocateActualDevice(). This function chooses the "best"
    bandwidth object and places it in the DomainActualNetDef.
    From that point on, whenever some code needs to use the bandwidth data
    for the interface, it's retrieved with virDomainNetGetActualBandwidth(),
    which will always return the "best" info as determined in the
    previous step.
    fe957f0a
domain_conf.h 50.1 KB