Re: [libvirt] [PATCHv8 05/17] util: Refactor code for adding PID to the resource group

2018-11-13 Thread John Ferlan
On 11/12/18 8:31 AM, Wang Huaqiang wrote: > The code of adding PID to the allocation could be reused, refactor it > for later reuse. > > Signed-off-by: Wang Huaqiang > --- > src/util/virresctrl.c | 30 +++--- > 1 file changed, 19 insertions(+), 11 deletions(-)

[libvirt] [PATCHv8 05/17] util: Refactor code for adding PID to the resource group

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