All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Output of fprintf messages in qemu source
@ 2015-03-18 18:47 Toms Varghese
  2015-03-23 12:47 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Toms Varghese @ 2015-03-18 18:47 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

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.

Thanks and Regards
Toms Varghese

[-- Attachment #2: Type: text/html, Size: 921 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Output of fprintf messages in qemu source
  2015-03-18 18:47 [Qemu-devel] Output of fprintf messages in qemu source Toms Varghese
@ 2015-03-23 12:47 ` Stefan Hajnoczi
  2015-03-24 13:34   ` Toms Varghese
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2015-03-23 12:47 UTC (permalink / raw)
  To: Toms Varghese; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

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 #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Output of fprintf messages in qemu source
  2015-03-23 12:47 ` Stefan Hajnoczi
@ 2015-03-24 13:34   ` Toms Varghese
  2015-03-30 15:05     ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Toms Varghese @ 2015-03-24 13:34 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

In my Fedora, I couldn't find the file in the mentioned path. I got it
finally from
/var/log/libvirt/qemu/<domain>.log
Thanks a lot for the help.

Regards
Toms Varghese

On Mon, Mar 23, 2015 at 6:17 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:

> 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 #2: Type: text/html, Size: 1838 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Output of fprintf messages in qemu source
  2015-03-24 13:34   ` Toms Varghese
@ 2015-03-30 15:05     ` Stefan Hajnoczi
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2015-03-30 15:05 UTC (permalink / raw)
  To: Toms Varghese; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

On Tue, Mar 24, 2015 at 07:04:59PM +0530, Toms Varghese wrote:
> In my Fedora, I couldn't find the file in the mentioned path. I got it
> finally from
> /var/log/libvirt/qemu/<domain>.log

Sorry, my mistake.  "lib" was a typo.

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-30 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 18:47 [Qemu-devel] Output of fprintf messages in qemu source Toms Varghese
2015-03-23 12:47 ` Stefan Hajnoczi
2015-03-24 13:34   ` Toms Varghese
2015-03-30 15:05     ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.