[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [patch] fix xenctx for x86_64

Hi, all

I have no x86_64 machine now.
So this patch is not tested.
But I think this is obviously wrong.
Please check x86_64 people. :-)

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe

diff -r b87ff075dab9 tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c   Thu Jun 08 11:08:35 2006 -0600
+++ b/tools/xentrace/xenctx.c   Sun Jun 25 13:35:32 2006 +0900
@@ -393,7 +393,11 @@ void dump_ctx(int vcpu)
+#if defined (__i386__)
     if (is_kernel_text(ctx.user_regs.eip))
+#elif defined (__x86_64__)
+    if (is_kernel_text(ctx.user_regs.rip))
         print_stack(&ctx, vcpu);
     ret = xc_domain_unpause(xc_handle, domid);

Attachment: xenctx_x86_64.patch
Description: Binary data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.