[libvirt] [PATCH] (failed) virConnectOpenAuth: Add VIR_CONNECT_NO_DEFAULT_ERROR_HANDLER flag.

Cole Robinson crobinso at redhat.com
Sun Oct 14 23:57:02 UTC 2012


On 10/14/2012 01:52 PM, Richard W.M. Jones wrote:
> 
> Well, it was a good idea, but the patch doesn't work.  Apparently
> along their open paths, drivers don't set errors in the newly created
> handle, but in the global handler instead (hence the errors still get
> printed to stderr).
> 

Can you give an example of the error you are seeing? I don't think I've ever
experienced that issue with virt-install/virt-manager. You can use
virSetErrorFunc before getting a virConnect handle.

- Cole




More information about the libvir-list mailing list