[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.4] x86/traps: identify the vcpu in context when dumping registers
commit fb9fdb08bb0d079f8d169615f3872f0538ab680d Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Mon Jul 13 14:01:06 2015 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Mon Jul 13 14:01:06 2015 +0200 x86/traps: identify the vcpu in context when dumping registers Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> master commit: e59abf8c8c9c1d99a531292c6a548d6dfd0ceacc master date: 2015-04-14 14:59:53 +0200 --- xen/arch/x86/x86_64/traps.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/x86_64/traps.c b/xen/arch/x86/x86_64/traps.c index 90072c1..2ba8323 100644 --- a/xen/arch/x86/x86_64/traps.c +++ b/xen/arch/x86/x86_64/traps.c @@ -53,9 +53,11 @@ static void _show_registers( printk("\nRFLAGS: %016lx ", regs->rflags); if ( (context == CTXT_pv_guest) && v && v->vcpu_info ) printk("EM: %d ", !!vcpu_info(v, evtchn_upcall_mask)); - printk("CONTEXT: %s\n", context_names[context]); + printk("CONTEXT: %s", context_names[context]); + if ( v && !is_idle_vcpu(v) ) + printk(" (d%dv%d)", v->domain->domain_id, v->vcpu_id); - printk("rax: %016lx rbx: %016lx rcx: %016lx\n", + printk("\nrax: %016lx rbx: %016lx rcx: %016lx\n", regs->rax, regs->rbx, regs->rcx); printk("rdx: %016lx rsi: %016lx rdi: %016lx\n", regs->rdx, regs->rsi, regs->rdi); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.4 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |