From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M8DPe-0002Jx-1R for qemu-devel@nongnu.org; Sun, 24 May 2009 09:06:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M8DPZ-0002Gm-5c for qemu-devel@nongnu.org; Sun, 24 May 2009 09:06:49 -0400 Received: from [199.232.76.173] (port=33940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M8DE6-0005uN-6P for qemu-devel@nongnu.org; Sun, 24 May 2009 08:54:54 -0400 Received: from mx2.redhat.com ([66.187.237.31]:41572) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M89Ai-0000dV-Ug for qemu-devel@nongnu.org; Sun, 24 May 2009 04:35:09 -0400 Message-ID: <4A1906B9.30201@redhat.com> Date: Sun, 24 May 2009 11:35:05 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] augment info migrate with page status References: <1242930415-20085-1-git-send-email-glommer@redhat.com> <4A15A39E.4030800@us.ibm.com> In-Reply-To: <4A15A39E.4030800@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Glauber Costa , qemu-devel@nongnu.org Anthony Liguori wrote: >> + monitor_printf(mon, "transferred ram: %lu kbytes\n", >> ram_bytes_transferred() >> 10); >> + monitor_printf(mon, "remaining ram: %lu kbytes\n", >> ram_bytes_remaining() >> 10); >> + monitor_printf(mon, "total ram: %lu kbytes\n", >> ram_bytes_total() >> 10); >> > > ram_addr_t isn't %lu. It's 64-bit. There's a PRI macro somewhere for > it... It actually is a %lu. Unless kqemu is enabled. Looks like we need a PRI_ram_addr, or to drop C as the implementation language. -- error compiling committee.c: too many arguments to function