From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: Christoffer Dall <christoffer.dall@linaro.org>, anthony@codemonkey.ws
Subject: [Qemu-devel] [PATCH 7/9] migration: Fix debug print type
Date: Tue, 24 Sep 2013 14:03:21 +0200 [thread overview]
Message-ID: <1380024203-25897-8-git-send-email-quintela@redhat.com> (raw)
In-Reply-To: <1380024203-25897-1-git-send-email-quintela@redhat.com>
From: Christoffer Dall <christoffer.dall@linaro.org>
The printf args are uint64_t and with -Werr QEMU doesn't compile with
migration debugging turned on unless this is fixed. Fix it.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
migration.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/migration.c b/migration.c
index 200d404..b4f8462 100644
--- a/migration.c
+++ b/migration.c
@@ -567,7 +567,8 @@ static void *migration_thread(void *opaque)
if (!qemu_file_rate_limit(s->file)) {
DPRINTF("iterate\n");
pending_size = qemu_savevm_state_pending(s->file, max_size);
- DPRINTF("pending size %lu max %lu\n", pending_size, max_size);
+ DPRINTF("pending size %" PRIu64 " max %" PRIu64 "\n",
+ pending_size, max_size);
if (pending_size && pending_size >= max_size) {
qemu_savevm_state_iterate(s->file);
} else {
--
1.8.3.1
next prev parent reply other threads:[~2013-09-24 12:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 12:03 [Qemu-devel] [PULL 0/9] migration queue Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 1/9] savevm: add comments for qemu_file_get_error() Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 2/9] savevm: fix wrong initialization by ram_control_load_hook Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 3/9] arch_init: right return for ram_save_iterate Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 4/9] rdma: clean up of qemu_rdma_cleanup() Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 5/9] rdma: constify ram_chunk_{index, start, end} Juan Quintela
2013-09-24 12:03 ` [Qemu-devel] [PATCH 6/9] migration: add version supporting macros for struct pointer Juan Quintela
2013-09-24 12:03 ` Juan Quintela [this message]
2013-09-24 12:03 ` [Qemu-devel] [PATCH 8/9] arch_init: make is_zero_page accept size Juan Quintela
2013-10-07 9:15 ` Peter Lieven
2013-09-24 12:03 ` [Qemu-devel] [PATCH 9/9] migration: ram_handle_compressed Juan Quintela
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=1380024203-25897-8-git-send-email-quintela@redhat.com \
--to=quintela@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=christoffer.dall@linaro.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).