From patchwork Fri Aug 23 07:06:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoffer Dall X-Patchwork-Id: 19431 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f72.google.com (mail-qe0-f72.google.com [209.85.128.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B129B23A4E for ; Fri, 23 Aug 2013 07:06:48 +0000 (UTC) Received: by mail-qe0-f72.google.com with SMTP id b4sf218480qen.7 for ; Fri, 23 Aug 2013 00:06:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=w2XJ+PYX4o79QSDtFgyuEA4ywBPo0BY56BAe9lFZn/s=; b=SLJDSLFvpnzUMpTaA5x+pnz9/Or5komqtxMiln9Z4EAvcUKBapbAXGkaxenRvQeazn APHth9YRz9/7roWFK4R3uCwwbGhj4KYt04pbjfmofKl+NGNfWFi1BeDk0/x+E4bWl8Gw SRZMVQ1Wf3j48Hv92IldFSjIb1bs+MIleWjwrKgyUjZoshpv9GMMtu8aNEaXeU/WhFZ3 tWqeaXiZREt7o3/m9ZQmQaJy1+ECp9OicKbmUJWf8EntMCG8yBNVcgBlzBrkHjNhehjd KOylp/l8OzRDQwSIn3WXWyCBbNz0wGMftl3bjtUtF7EducHnq9AUJ/b20vHciiGIVgph XBmw== X-Received: by 10.236.24.195 with SMTP id x43mr949173yhx.3.1377241608394; Fri, 23 Aug 2013 00:06:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.70 with SMTP id o6ls1481761qeq.58.gmail; Fri, 23 Aug 2013 00:06:48 -0700 (PDT) X-Received: by 10.220.11.7 with SMTP id r7mr15150956vcr.12.1377241608282; Fri, 23 Aug 2013 00:06:48 -0700 (PDT) Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by mx.google.com with ESMTPS id rx10si5199345vdc.47.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 00:06:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.41 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.41; Received: by mail-vb0-f41.google.com with SMTP id g17so194561vbg.28 for ; Fri, 23 Aug 2013 00:06:48 -0700 (PDT) X-Gm-Message-State: ALoCoQkLnsBCRLucIhbYCM9IT7mGZ6QlE+OV7dL8qxksQk1L/Xkd8Td9jtxH7v/CkANJCv4mREy5 X-Received: by 10.221.44.136 with SMTP id ug8mr15205490vcb.13.1377241607727; Fri, 23 Aug 2013 00:06:47 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp76814vcz; Fri, 23 Aug 2013 00:06:47 -0700 (PDT) X-Received: by 10.68.197.136 with SMTP id iu8mr1443013pbc.183.1377241606679; Fri, 23 Aug 2013 00:06:46 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id yt8si7018506pab.322.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 00:06:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of christoffer.dall@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id r10so325794pdi.28 for ; Fri, 23 Aug 2013 00:06:46 -0700 (PDT) X-Received: by 10.66.120.145 with SMTP id lc17mr467077pab.182.1377241605924; Fri, 23 Aug 2013 00:06:45 -0700 (PDT) Received: from localhost.localdomain (c-67-169-183-77.hsd1.ca.comcast.net. [67.169.183.77]) by mx.google.com with ESMTPSA id xs1sm21493307pac.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 00:06:44 -0700 (PDT) From: Christoffer Dall To: qemu-devel@nongnu.org Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, kvmarm@lists.cs.columbia.edu, Christoffer Dall Subject: [PATCH] migration: Fix debug print type Date: Fri, 23 Aug 2013 00:06:41 -0700 Message-Id: <1377241601-29105-1-git-send-email-christoffer.dall@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: christoffer.dall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.41 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration.c b/migration.c index 1402fa7..0d8706f 100644 --- a/migration.c +++ b/migration.c @@ -566,7 +566,7 @@ 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 %llu max %llu\n", pending_size, max_size); if (pending_size && pending_size >= max_size) { qemu_savevm_state_iterate(s->file); } else {