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

Re: [libvirt] Reporting log/error messages through capabilities



On Wed, Feb 19, 2014 at 04:51:17PM +0000, Richard W.M. Jones wrote:
> On Wed, Feb 19, 2014 at 01:56:24PM +0000, Daniel P. Berrange wrote:
> > On Wed, Feb 19, 2014 at 02:01:43PM +0100, Michal Privoznik wrote:
> > > On 19.02.2014 00:11, Richard W.M. Jones wrote:
> > > >[1] By the way, this is a general complaint about libvirt.  Please
> > > >DON'T add any more stuff to the configuration file.  Everything should
> > > >be configurable through the API, or not at all.  There are two other
> > > >settings I can think of that libguestfs would like to adjust but
> > > >cannot because they are only available in a configuration file.
> > > >
> > > 
> > > This all will be solved by administration module, once we implement
> > > it. I don't know about anybody working on it though.
> > 
> > Yeah, we really need to get our act together on that. I might even be
> > able to squeeze out some free time for this in the next few weeks. At
> > least to get a proof of concept working with 1 or 2 example APIs.
> 
> Is there some background reading on this feature?

Nothing nicely written up in any one place.

The general idea though is that we'll create an administrative API for
libvirtd. eg a libvirtadmin.so that connects to a dedicated UNIX socket
like /var/run/libvirt/libvirt-admin which has its own RPC program running
separate from the main RPC program. This library / RPC protocol would be
thus independant of any specific HV connection. The original motivation
was to provide the host admin with a way to turn on/off logging levels
without having to restart libvirtd itself. We also wanted a way to inspect
what clients are connected and what API calls they were waiting for
completion of.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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