Re: [libvirt-glib] Log virStreamFinish error when it fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 05, 2012 at 02:29:27PM +0100, Michal Privoznik wrote:
> On 05.11.2012 14:21, Christophe Fergeau wrote:
> > GVirObjectStream::finalize() logs a critical() if virStreamFinish
> > fails. This commit adds the libvirt error message to this critical
> > to ease debugging.
> 
> ACK

Actually I'm going to self-NACK this, and I'll be sending a more generic
patch. Other places are checking the error from libvirt against NULL, and
this does not address all the g_warning which don't show the libvirt error.
I have a patch adding gvir_warning/gvir_critical functions which wrap
g_warning/g_critical and append the error message from libvirt
automatically.

Christophe

Attachment: pgpchEF6z_Qhk.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]