Re: [libvirt] [PATCHv5 03/19] util: Refactor code for adding PID to the resource group

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 03/19

Re: [libvirt] [PATCHv5 03/19] util: Refactor code for adding PID to the resource group

2018-10-09 Thread John Ferlan
On 10/9/18 6:30 AM, Wang Huaqiang wrote: > The code of adding PID to the allocation could be reused, refactor it > for later reusing. reuse. > > Signed-off-by: Wang Huaqiang > --- > src/util/virresctrl.c | 26 +- > 1 file changed, 17 insertions(+), 9 deletions(-) >

[libvirt] [PATCHv5 03/19] util: Refactor code for adding PID to the resource group

2018-10-09 Thread Wang Huaqiang
The code of adding PID to the allocation could be reused, refactor it for later reusing. Signed-off-by: Wang Huaqiang --- src/util/virresctrl.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/util/virresctrl.c b/src/util/virresctrl.c index