From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz2HG-0001D2-FK for qemu-devel@nongnu.org; Thu, 01 Sep 2011 04:05:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qz2HF-0007Ax-N9 for qemu-devel@nongnu.org; Thu, 01 Sep 2011 04:05:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz2HF-0007AB-Fl for qemu-devel@nongnu.org; Thu, 01 Sep 2011 04:05:33 -0400 Message-ID: <4E5F3CCA.4040700@redhat.com> Date: Thu, 01 Sep 2011 11:05:30 +0300 From: Avi Kivity MIME-Version: 1.0 References: <1314825072-27967-1-git-send-email-lmr@redhat.com> In-Reply-To: <1314825072-27967-1-git-send-email-lmr@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] kvm_unit_tests: vm.c - Retrieve RAM size from fwcfg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lucas Meneghel Rodrigues Cc: Marcelo Tosatti , qemu-devel@nongnu.org, kvm@vger.kernel.org On 09/01/2011 12:11 AM, Lucas Meneghel Rodrigues wrote: > Rather than letting the test dev do it. > + > +unsigned fwcfg_get_ram_size(void) > +{ > + return fwcfg_get_u64(FW_CFG_RAM_SIZE); > +} Should return a 64-bit type here. -- error compiling committee.c: too many arguments to function