Re: [libvirt] [v7 01/10] Resctrl: Add some utils functions

2017-02-21 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, 17 February 2017 at 8:47 PM, Martin Kletzander wrote: > On Thu, Feb 16, 2017 at 06:03:50PM +0100, Martin Kletzander wrote: > > On

Re: [libvirt] [v7 01/10] Resctrl: Add some utils functions

2017-02-21 Thread Eli Qiao
-- Best regards Eli 天涯无处不重逢 a leaf duckweed belongs to the sea, where not to meet in life Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Friday, 17 February 2017 at 1:03 AM, Martin Kletzander wrote: > On Thu, Feb 16, 2017 at 05:35:12PM +0800, Eli Qiao wrote: > > This patch a

Re: [libvirt] [v7 01/10] Resctrl: Add some utils functions

2017-02-17 Thread Martin Kletzander
On Thu, Feb 16, 2017 at 06:03:50PM +0100, Martin Kletzander wrote: On Thu, Feb 16, 2017 at 05:35:12PM +0800, Eli Qiao wrote: This patch adds some utils struct and functions to expose resctrl information. One tiny nitpick, but it might actually help you as well. You can use -v7 parameter to g

Re: [libvirt] [v7 01/10] Resctrl: Add some utils functions

2017-02-16 Thread Martin Kletzander
On Thu, Feb 16, 2017 at 05:35:12PM +0800, Eli Qiao wrote: This patch adds some utils struct and functions to expose resctrl information. One tiny nitpick, but it might actually help you as well. You can use -v7 parameter to git send-email or git format-patch to automatically add 'v7' to the s

[libvirt] [v7 01/10] Resctrl: Add some utils functions

2017-02-16 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 r