|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] Clean up event-channel debug-key outpu
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1281686418 -3600
# Node ID 4c180d7650f4c345aeb17d31bccdefbcd1531603
# Parent 12f1350d4a06e108d4c3807b48d6534599f5f469
Clean up event-channel debug-key output, and use spin_lock().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset: 7d02b1046d14
xen-unstable date: Fri Aug 13 08:39:11 2010 +0100
---
xen/common/event_channel.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff -r 12f1350d4a06 -r 4c180d7650f4 xen/common/event_channel.c
--- a/xen/common/event_channel.c Fri Aug 13 08:59:52 2010 +0100
+++ b/xen/common/event_channel.c Fri Aug 13 09:00:18 2010 +0100
@@ -1070,14 +1070,11 @@ static void domain_dump_evtchn_info(stru
bitmap_scnlistprintf(keyhandler_scratch, sizeof(keyhandler_scratch),
d->poll_mask, d->max_vcpus);
- printk("Domain %d polling vCPUs: {%s}\n",
- d->domain_id, keyhandler_scratch);
-
- if ( !spin_trylock(&d->event_lock) )
- return;
-
printk("Event channel information for domain %d:\n"
- " port [p/m]\n", d->domain_id);
+ "Polling vCPUs: {%s}\n"
+ " port [p/m]\n", d->domain_id, keyhandler_scratch);
+
+ spin_lock(&d->event_lock);
for ( port = 1; port < MAX_EVTCHNS(d); ++port )
{
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] Clean up event-channel debug-key output, and use spin_lock().,
Xen patchbot-4.0-testing <=
|
|
|
|
|