fix xenctx for x86_64
PATCH 1/1 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. :-)
Best Regards,
Akio Takebe
tools/xentrace/xenctx.c +4 -0
@@ -393,7 +393,11 @@ void dump_ctx(int vcpu) }print_ctx (&ctx); +#if defined (__i386__) if (is_kernel_text(ctx.user_regs.eip)) +#elif defined (__x86_64__) + if (is_kernel_text(ctx.user_regs.rip)) +#endif print_stack (&ctx, vcpu); ret =xc_domain_unpause (xc_handle, domid);
tools/xentrace/xenctx.c +4 -0
@@ -393,7 +393,11 @@ void dump_ctx(int vcpu) }print_ctx (&ctx); +#if defined (__i386__) if (is_kernel_text(ctx.user_regs.eip)) +#elif defined (__x86_64__) + if (is_kernel_text(ctx.user_regs.rip)) +#endif print_stack (&ctx, vcpu); ret =xc_domain_unpause (xc_handle, domid);
_______________________________________________
Xen-devel mailing list [email protected]
http://lists.xensource.com/xen-devel
Hi, all
I'm very sorry. This fix was already done by Tristan. His patch posted to xen-ia64-devel, but not apply yet.
Best Regards,
Akio Takebe
Quoted 34 lines
Hi, all
I have no
x86_64machine now. So this patch is not tested. But I think this is obviously wrong. Please checkx86_64people. :-)Signed-off-by Akio Takebe <[email protected]>Best Regards,
Akio Takebe
diff -r
b87ff075dab9tools/xentrace/xenctx.ctools/xentrace/xenctx.c +4
-1@@ -393,7 +393,11 @@ void dump_ctx(int vcpu) }print_ctx (&ctx); +#if defined (__i386__) if (is_kernel_text(ctx.user_regs.eip)) +#elif defined (__x86_64__) + if (is_kernel_text(ctx.user_regs.rip)) +#endif print_stack (&ctx, vcpu); ret =xc_domain_unpause (xc_handle, domid); -------------------------------text/plain-------------------------------_______________________________________________
Xen-devel mailing list [email protected]
http://lists.xensource.com/xen-devel
Quoted 2 lines · Akio Takebe
I'm very sorry. This fix was already done by Tristan. His patch posted to xen-ia64-devel, but not apply yet.
Hopefully not that particular fix. The existing non-ifdef code works fine on both i386 and x86/64.
-- Keir
Hi, Keir
Yes, Tristan's patch is non-ifdef fix.
Best Regards,
Akio Takebe
Quoted 10 lines · Akio Takebe
Quoted 3 lines
I'm very sorry. This fix was already done by Tristan. His patch posted to xen-ia64-devel, but not apply yet.
Hopefully not that particular fix. The existing non-ifdef code works fine on both i386 and x86/64.
-- Keir