Re: [libvirt] [PATCH v2 1/1] src/driver.c: remove duplicated code in virGetConnect* functions

2019-10-10 Thread Cole Robinson
On 10/8/19 5:02 PM, Daniel Henrique Barboza wrote: All the 6 virGetConnect* functions in driver.c shares the same code base. This patch creates a new static function virGetConnectGeneric() that contains the common code to be used with all other virGetConnect*. Signed-off-by: Daniel Henrique

[libvirt] [PATCH v2 1/1] src/driver.c: remove duplicated code in virGetConnect* functions

2019-10-08 Thread Daniel Henrique Barboza
All the 6 virGetConnect* functions in driver.c shares the same code base. This patch creates a new static function virGetConnectGeneric() that contains the common code to be used with all other virGetConnect*. Signed-off-by: Daniel Henrique Barboza --- src/driver.c | 99