[libvirt] Question about qemuDomainLogContextNew

Peter Krempa pkrempa at redhat.com
Mon Mar 27 08:29:00 UTC 2017


On Mon, Mar 27, 2017 at 11:39:09 +0800, Liu Feng wrote:
> Hi, Dear all
>     I have a question, and need your help.
>     I want to output some log message to
> "/var/log/libvirt/qemu/instance-xxxxxx" when guest kernel crashed, so I add
> following the code:

I don't really know what the problem with your code is, but I've
recently sent a patchset which does basically what you want to do here:

https://www.redhat.com/archives/libvir-list/2017-March/msg00924.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170327/4f0379d0/attachment-0001.sig>


More information about the libvir-list mailing list