xen: Send the debug VIRQ to guests after the rest of the domain dump is done.
PATCH 1/1 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 <[email protected]>
xen/common/keyhandler.c +8 -1
@@ -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)),