From patchwork Mon Feb 4 12:17:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ellerman X-Patchwork-Id: 2091471 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 383B3DFE82 for ; Mon, 4 Feb 2013 12:25:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754512Ab3BDMZD (ORCPT ); Mon, 4 Feb 2013 07:25:03 -0500 Received: from ozlabs.org ([203.10.76.45]:38461 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754431Ab3BDMZC (ORCPT ); Mon, 4 Feb 2013 07:25:02 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 3909B2C02A9; Mon, 4 Feb 2013 23:25:01 +1100 (EST) From: Michael Ellerman To: Cc: , asias.hejun@gmail.com, will.deacon@arm.com Subject: [PATCH] kvm tools: Fix powerpc build after kvm__dump_mem() change Date: Mon, 4 Feb 2013 23:17:45 +1100 Message-Id: <1359980265-26187-1-git-send-email-michael@ellerman.id.au> X-Mailer: git-send-email 1.7.10.4 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Commit 21692d1 (Beautify debug output) broke the powerpc build because it changed the signature for kvm__dump_mem() but didn't update all callers. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/kvm-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/powerpc/kvm-cpu.c b/tools/kvm/powerpc/kvm-cpu.c index 8fce121..8f825bd 100644 --- a/tools/kvm/powerpc/kvm-cpu.c +++ b/tools/kvm/powerpc/kvm-cpu.c @@ -281,7 +281,7 @@ void kvm_cpu__show_code(struct kvm_cpu *vcpu) dprintf(debug_fd, "\n Stack:\n"); dprintf(debug_fd, " ------\n"); /* Only works in real mode: */ - kvm__dump_mem(vcpu->kvm, vcpu->regs.gpr[1], 32); + kvm__dump_mem(vcpu->kvm, vcpu->regs.gpr[1], 32, debug_fd); } void kvm_cpu__show_page_tables(struct kvm_cpu *vcpu)