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: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Question on QEMU : How to record debug log in VM of QEMU
Date: Thu, 9 May 2019 14:45:25 +0100
User-agent: Mutt/1.11.4 (2019-03-13)

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.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

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