[PATCH] do not report generic OPERATION_FAILED error when calling virConnectOpenAuth()

Michal Prívozník mprivozn at redhat.com
Fri Jan 7 16:01:51 UTC 2022


On 1/6/22 18:07, Ani Sinha wrote:
> virConnectOpenAuth() calls virConnectOpenInternal(). This later function
> generates fine grained errors arising from various failure conditions that are
> more accurate than a "catch all" broader VIR_ERR_OPERATION_FAILED error that
> the callers of this function generates. Remove the broader error so that more
> specific errors can be caught and processed.
> 
> Signed-off-by: Ani Sinha <ani at anisinha.ca>
> ---
>  src/libxl/libxl_migration.c | 3 ---
>  src/qemu/qemu_migration.c   | 3 ---
>  2 files changed, 6 deletions(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

and pushed.

Michal




More information about the libvir-list mailing list