[libvirt] [PATCH v2 1/1] src/driver.c: remove duplicated code in virGetConnect* functions
Cole Robinson
crobinso at redhat.com
Thu Oct 10 17:57:09 UTC 2019
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 Barboza <danielhb413 at gmail.com>
> ---
> src/driver.c | 99 +++++++++++++---------------------------------------
> 1 file changed, 24 insertions(+), 75 deletions(-)
>
Reviewed-by: Cole Robinson <crobinso at redhat.com>
And pushed
- Cole
More information about the libvir-list
mailing list