qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Question on QEMU : How to record debug log in VM of QEM


From: Daniel P . Berrangé
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
User-agent: Mutt/1.11.4 (2019-03-13)

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 :|



reply via email to

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