From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgLiB-0003tH-4s for qemu-devel@nongnu.org; Sun, 08 Mar 2009 12:18:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgLi6-0003mz-08 for qemu-devel@nongnu.org; Sun, 08 Mar 2009 12:18:45 -0400 Received: from [199.232.76.173] (port=39243 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgLi5-0003mV-1e for qemu-devel@nongnu.org; Sun, 08 Mar 2009 12:18:41 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53414) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgLi4-0001bo-DY for qemu-devel@nongnu.org; Sun, 08 Mar 2009 12:18:40 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n28GIckT002072 for ; Sun, 8 Mar 2009 12:18:38 -0400 Message-ID: <49B3EFDC.8050205@redhat.com> Date: Sun, 08 Mar 2009 18:18:36 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [6684] Fix "info registers" under kvm. References: <49B3EAA8.6050900@web.de> In-Reply-To: <49B3EAA8.6050900@web.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jan Kiszka wrote: > I'm just still waiting for a reply from Anthony on how to embed best all > the "if (kvm_enabled()) foo();" patterns [2]. That would also allow us > to merge gdbstub support for upstream kvm. > > Wouldn't 'if (!kvm_enabled()) return;' inside the callees suffice? -- error compiling committee.c: too many arguments to function