task_states[p->state], p->hyp_events);
s = p->shared_info;
if(!is_idle_task(p)) {
+ net_vif_t *v = find_vif_by_id((p->domain)<<VIF_DOMAIN_SHIFT);
printk("Guest: events = %08lx, events_mask = %08lx\n",
s->events, s->events_mask);
+
+ if (v) {
+ printk("rx_prod=%d ,rx_cons=%d, tx_prod=%d, tx_cons=%d\n",
+ v->rx_prod,v->rx_cons,v->tx_prod,v->tx_cons );
+ printk("rx_req_cons=%d, rx_resp_prod=%d, tx_req_cons=%d, tx_resp_prod=%d\n",
+ v->rx_req_cons,v->rx_resp_prod,v->tx_req_cons,v->tx_resp_prod);
+ put_vif(v);
+ }
printk("Notifying guest...\n");
set_bit(_EVENT_DEBUG, &s->events);
}
esp = regs->esp;
ss = regs->xss & 0xffff;
}
- printk("CPU: %d\nEIP: %04x:[<%08lx>] %s\nEFLAGS: %08lx\n",
- smp_processor_id(), 0xffff & regs->xcs, regs->eip, print_tainted(), regs->eflags);
- printk("eax: %08lx ebx: %08lx ecx: %08lx edx: %08lx\n",
+ printk(KERN_ALERT "CPU: %d\n", smp_processor_id() );
+ printk(KERN_ALERT "EIP: %04x:[<%08lx>] %s\n",
+ 0xffff & regs->xcs, regs->eip, print_tainted());
+ printk(KERN_ALERT "EFLAGS: %08lx\n",regs->eflags);
+ printk(KERN_ALERT "eax: %08lx ebx: %08lx ecx: %08lx edx: %08lx\n",
regs->eax, regs->ebx, regs->ecx, regs->edx);
- printk("esi: %08lx edi: %08lx ebp: %08lx esp: %08lx\n",
+ printk(KERN_ALERT "esi: %08lx edi: %08lx ebp: %08lx esp: %08lx\n",
regs->esi, regs->edi, regs->ebp, esp);
- printk("ds: %04x es: %04x ss: %04x\n",
+ printk(KERN_ALERT "ds: %04x es: %04x ss: %04x\n",
regs->xds & 0xffff, regs->xes & 0xffff, ss);
- printk("Process %s (pid: %d, stackpage=%08lx)",
+ printk(KERN_ALERT "Process %s (pid: %d, stackpage=%08lx)",
current->comm, current->pid, 4096+(unsigned long)current);
/*
* When in-kernel, we also print out the stack and code at the
*/
if (in_kernel) {
- printk("\nStack: ");
+ printk(KERN_ALERT "\nStack: ");
show_stack((unsigned long*)esp);
#if 0
{
int i;
- printk("\nCode: ");
+ printk(KERN_ALERT "\nCode: ");
if(regs->eip < PAGE_OFFSET)
goto bad;
unsigned char c;
if(__get_user(c, &((unsigned char*)regs->eip)[i])) {
bad:
- printk(" Bad EIP value.");
+ printk(KERN_ALERT " Bad EIP value.");
break;
}
printk("%02x ", c);
}
#endif
}
- printk("\n");
+ printk(KERN_ALERT "\n");
}
spinlock_t die_lock = SPIN_LOCK_UNLOCKED;