Tim Deegan
2010-Jul-15 15:01 UTC
[Xen-devel] [PATCH] xen: Send the debug VIRQ to guests after the rest of the domain dump is done.
Send the debug VIRQ to guests after the rest of the domain dump is done. This stops all the ''q'' debug-key output getting interleaved with the debug-virq output from a pv-ops dom0 kernel. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> diff -r 41c51b6cf5bc xen/common/keyhandler.c --- a/xen/common/keyhandler.c Tue Jul 13 19:34:48 2010 +0100 +++ b/xen/common/keyhandler.c Thu Jul 15 11:31:00 2010 +0100 @@ -283,7 +283,14 @@ arch_dump_vcpu_info(v); periodic_timer_print(tmpstr, sizeof(tmpstr), v->periodic_period); printk(" %s\n", tmpstr); - printk(" Notifying guest (virq %d, port %d, stat %d/%d/%d)\n", + } + } + + for_each_domain ( d ) + { + for_each_vcpu ( d, v ) { + printk("Notifying guest %d:%d (virq %d, port %d, stat %d/%d/%d)\n", + d->domain_id, v->vcpu_id, VIRQ_DEBUG, v->virq_to_evtchn[VIRQ_DEBUG], test_bit(v->virq_to_evtchn[VIRQ_DEBUG], &shared_info(d, evtchn_pending)), _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel