From: Tim Deegan Subject: [PATCH] xen: Send the debug VIRQ to guests after the rest of the domain dump is done. Date: Thu, 15 Jul 2010 16:01:21 +0100 Message-ID: <20100715150121.GF13291@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 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)),