From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [Qemu-devel] qemu-kvm log Date: Mon, 10 Sep 2012 16:28:08 +0300 Message-ID: <504DEAE8.7080703@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , "qemu-devel@nongnu.org" , kvm To: "Liu, Jinsong" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41913 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878Ab2IJN2Q (ORCPT ); Mon, 10 Sep 2012 09:28:16 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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