mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/traps: identify the vcpu in context when dumping registers
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: e59abf8c8c
master date: 2015-04-14 14:59:53 +0200
This commit is contained in:
1 parent
36c53c22cd
commit
fb9fdb08bb
1 file changed
+4
-2
@@ -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);
|
||||
|
||||