From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB47L-0007LB-9f for qemu-devel@nongnu.org; Mon, 10 Sep 2012 09:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB42A-0005tO-BB for qemu-devel@nongnu.org; Mon, 10 Sep 2012 09:28:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB42A-0005t4-2P for qemu-devel@nongnu.org; Mon, 10 Sep 2012 09:28:14 -0400 Message-ID: <504DEAE8.7080703@redhat.com> Date: Mon, 10 Sep 2012 16:28:08 +0300 From: Avi Kivity MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] qemu-kvm log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Liu, Jinsong" Cc: Marcelo Tosatti , "qemu-devel@nongnu.org" , kvm On 09/10/2012 01:44 PM, Liu, Jinsong wrote: > Hi, > > I'm recently debugging a qemu-kvm issue. I add some print code like 'fprintf(stderr, ...)', however I fail to see any info at stdio. Anyone can tell me where is qemu-kvm logfile, or, what I need do to record my fprintf info? If you're running via libvirt, the log is in /var/log/libvirt/qemu. If you're running from the command line and printf()s should end on your terminal. -- error compiling committee.c: too many arguments to function