[libvirt] [PATCH] Fix virConnectOpen.*() name requirements

Martin Kletzander mkletzan at redhat.com
Mon Mar 25 16:08:42 UTC 2013


On 03/25/2013 04:54 PM, Martin Kletzander wrote:
> virConnectOpenAuth didn't require 'name' to be specified (VIR_DEBUG
> used NULLSTR() for the output) and by default, if name == NULL, the
> default connection uri is used.  This was not indicated in the
> documentation and wasn't checked for in other API's VIR_DEBUG outputs.
> ---
> Thanks to Guannan's patch, this makes the following possible in python:
> 
> conn = libvirt.open()
> 
> which I personally find pretty nice.
> ---

Self-NACK, not quite true, since this function (and some others) are
overridden.  Will send a v2.

Martin




More information about the libvir-list mailing list