From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: qemu-devel@nongnu.org, S KH <sgh8183@gmail.com>
Subject: Re: [Qemu-devel] Question on QEMU : How to record debug log in VM of QEMU
Date: Thu, 9 May 2019 15:20:12 +0100 [thread overview]
Message-ID: <20190509142012.GZ31299@redhat.com> (raw)
In-Reply-To: <20190509134525.GD17133@stefanha-x1.localdomain>
On Thu, May 09, 2019 at 02:45:25PM +0100, Stefan Hajnoczi wrote:
> On Tue, May 07, 2019 at 11:29:03AM +0900, S KH wrote:
> > This is a question I have encountered while using QEMU.
> >
> > I want to compile the source directly rather than through apt or yum and
> > install QEMU and input the output statement to the source to check the
> > output value.
> >
> > When I compiled QEMU using dpkg-buildpackage in Ubuntu, I verified that
> > when QEMU's VM is executed by inputting and compiling the output statement,
> > the output value is recorded in the log file(ex.
> > /var/log/libvirt/qemu/win7.log) of that VM.
> >
> > In Centos, I tried to use rpmbuild to input the output to QEMU source,
> > compile and check the output value. I confirmed that the log file is not
> > written, but I have confirmed that the output value is rare from the
> > terminal during the compilation process.
> >
> > What I want to do is to get the output to be written to the log file like
> > in Ubuntu.
>
> Try diffing /etc/libvirt/qemu.conf between the Ubuntu and CentOS hosts.
> Maybe they have different logging setups. In particular, the
> stdio_handler setting might be different.
That shouldn't matter - regardless of which stdio_handler is in use,
the logs end up in the same file, with no buffering added by libvirt.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
prev parent reply other threads:[~2019-05-09 14:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 2:29 [Qemu-devel] Question on QEMU : How to record debug log in VM of QEMU S KH
2019-05-09 13:45 ` Stefan Hajnoczi
2019-05-09 14:20 ` Daniel P. Berrangé [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190509142012.GZ31299@redhat.com \
--to=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sgh8183@gmail.com \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.