Re: [libvirt] [RFC v3 1/8] Resctrl: Add some utils functions

2017-02-10 Thread Marcelo Tosatti
On Thu, Feb 09, 2017 at 03:43:02PM +0800, Eli Qiao wrote: > This patch adds some utils struct and functions to expose resctrl > information. > > virResCtrlAvailable: If resctrl interface exist on host > virResCtrlGet: get specify type resource contral information > virResCtrlInit: initialize

[libvirt] [RFC v3 1/8] Resctrl: Add some utils functions

2017-02-08 Thread Eli Qiao
This patch adds some utils struct and functions to expose resctrl information. virResCtrlAvailable: If resctrl interface exist on host virResCtrlGet: get specify type resource contral information virResCtrlInit: initialize resctrl struct from the host's sys fs. resctrlall[]: an array to maintain