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

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

On Mon, Oct 15, 2012 at 04:07:35PM +0100, Daniel P. Berrange wrote:
> I would think we could at least allow an env variable to turn
> off use of the default though. eg we could allow anyone to do
> and this would stop all use of virDefaultErrorFunc globally. THen
> libguestfs could set this env var, but apps would still be able to
> set a custom error function if they desired.

Unfortunately, how to set environment variables per-thread?  I don't
think it's possible (but please correct me if I'm wrong).

The same problem also affects the autostart thing (RHBZ#865464#c9).

BTW today I solved much the same problem in libguestfs:



Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

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