]> xenbits.xensource.com Git - libvirt.git/commit
util: Add support to calculate MBA utilization
authorBing Niu <bing.niu@intel.com>
Mon, 30 Jul 2018 03:12:32 +0000 (11:12 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 13 Aug 2018 18:19:41 +0000 (14:19 -0400)
commitf977ad89e0202b5bcf5a90de45e19afb0159b458
tree26bb819b718f69ec31ebb9aea073f22137808bac
parent34a2ba2c466fe62611c9284d7de923879821b11a
util: Add support to calculate MBA utilization

Introduce virResctrlMemoryBandwidthSubtract and
virResctrlAllocMemoryBandwidth to be used as part of
the virResctrlAllocAssign processing to configure
the available memory bandwidth.

Signed-off-by: Bing Niu <bing.niu@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/virresctrl.c