]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Add MBA schemata parse and format methods
authorBing Niu <bing.niu@intel.com>
Mon, 30 Jul 2018 03:12:31 +0000 (11:12 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 13 Aug 2018 18:19:41 +0000 (14:19 -0400)
commit34a2ba2c466fe62611c9284d7de923879821b11a
tree8c7ed0a145266bd5d26c29033811c68833a4ac07
parent4c727dacbf1bd2a8c4797daf6192b81b85f872f1
util: Add MBA schemata parse and format methods

Introduce virResctrlAllocMemoryBandwidthFormat and
virResctrlAllocParseMemoryBandwidthLine which will format
and parse an entry in the schemata file for MBA.

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