Re: [libvirt] [PATCHv5 05/19] util: Refactor code for determining allocation path

2018-10-12 Thread Wang, Huaqiang
gt; >> To: Wang, Huaqiang ; libvir-list@redhat.com > >> Cc: Feng, Shaohe ; Niu, Bing > >> ; Ding, Jian-feng ; > >> Zang, Rui > >> Subject: Re: [libvirt] [PATCHv5 05/19] util: Refactor code for > >> determining allocation path > >> > &

Re: [libvirt] [PATCHv5 05/19] util: Refactor code for determining allocation path

2018-10-10 Thread John Ferlan
ing ; >> Ding, Jian-feng ; Zang, Rui >> Subject: Re: [libvirt] [PATCHv5 05/19] util: Refactor code for determining >> allocation path >> >> >> >> On 10/9/18 6:30 AM, Wang Huaqiang wrote: >>> The code for determining resctrl allocation path could b

Re: [libvirt] [PATCHv5 05/19] util: Refactor code for determining allocation path

2018-10-10 Thread Wang, Huaqiang
> -Original Message- > From: John Ferlan [mailto:jfer...@redhat.com] > Sent: Wednesday, October 10, 2018 7:09 AM > To: Wang, Huaqiang ; libvir-list@redhat.com > Cc: Feng, Shaohe ; Niu, Bing ; > Ding, Jian-feng ; Zang, Rui > Subject: Re: [libvirt] [PATCHv5 05/19

Re: [libvirt] [PATCHv5 05/19] util: Refactor code for determining allocation path

2018-10-09 Thread John Ferlan
On 10/9/18 6:30 AM, Wang Huaqiang wrote: > The code for determining resctrl allocation path could be reused > for monitor. Refactor it for reusing. > > Signed-off-by: Wang Huaqiang > --- > src/util/virresctrl.c | 33 +++-- > 1 file changed, 27 insertions(+), 6

[libvirt] [PATCHv5 05/19] util: Refactor code for determining allocation path

2018-10-09 Thread Wang Huaqiang
The code for determining resctrl allocation path could be reused for monitor. Refactor it for reusing. Signed-off-by: Wang Huaqiang --- src/util/virresctrl.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/src/util/virresctrl.c