diff mbox

kvm tools: Fix powerpc build after kvm__dump_mem() change

Message ID 1359980265-26187-1-git-send-email-michael@ellerman.id.au (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Ellerman Feb. 4, 2013, 12:17 p.m. UTC
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 <michael@ellerman.id.au>
---
 tools/kvm/powerpc/kvm-cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pekka Enberg Feb. 4, 2013, 12:45 p.m. UTC | #1
On Mon, Feb 4, 2013 at 2:17 PM, Michael Ellerman <michael@ellerman.id.au> wrote:
> 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 <michael@ellerman.id.au>

Applied, thanks Michael!
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)