All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Glauber Costa <glommer@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [PATCH] augment info migrate with page status
Date: Sun, 24 May 2009 11:35:05 +0300	[thread overview]
Message-ID: <4A1906B9.30201@redhat.com> (raw)
In-Reply-To: <4A15A39E.4030800@us.ibm.com>

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

      reply	other threads:[~2009-05-24 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 18:26 [Qemu-devel] [PATCH] augment info migrate with page status Glauber Costa
2009-05-21 18:55 ` [Qemu-devel] " Anthony Liguori
2009-05-24  8:35   ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1906B9.30201@redhat.com \
    --to=avi@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=glommer@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.