|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] Re: [PATCH] augment info migrate with page status |
Date: | Sun, 24 May 2009 11:35:05 +0300 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |