On Tue, Jun 07, 2016 at 05:04:26PM +0200, Peter Krempa wrote:
For logging one-shot entries to the VM log file it's quite a
waste to
hold open the file descriptor for logging that is provided by the
current API.
This new API will be ideal for logging one-shot entries to the file
e.g. at the point when we shut the VM down rather than having to add the
whole file-descriptor infrastructure.
Additionally this will allow to add the messages even after restart of
libvirtd since virtlogd doesn't allow to obtain a regular context with
filedescriptors while the VM is still active.
---
src/logging/log_handler.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++
src/logging/log_handler.h | 8 ++++++++
2 files changed, 58 insertions(+)
ACK
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 :|