qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Output of fprintf messages in qemu source


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Output of fprintf messages in qemu source
Date: Mon, 23 Mar 2015 12:47:16 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Mar 19, 2015 at 12:17:29AM +0530, Toms Varghese wrote:
> Hi all,
> 
> I can see some fprintf (stderr, ...) statements in qemu source code. I
> expect the output to be shown in  the terminal window. I use libvirt to
> manage my VMs and hence have no idea about the exact qemu command line
> being used. From the comments in the below post
> http://blog.vmsplice.net/2011/03/how-to-write-trace-analysis-scripts-for.html
> I found that libvirt is supposed to store the stderr outputs
> in /var/lib/libvirt/qemu/.log file. But I am unable to find any such log
> file in /var/lib/libvirt/qemu. Can anyone please tell me how to get the
> output of fprintfs in this case as it would help me a lot?
> I am using fedora 21, qemu 2.0.2 and libvirt 1.2.9.2.

The file name is:
/var/lib/libvirt/qemu/<domain>.log

It includes the QEMU command-line as well as stderr output.

Stefan

Attachment: pgpDkvsGsfca1.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]