[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Tidy evtchn keyhandler a little
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1252309233 -3600 # Node ID 27e298295d68d2ddf0f9d9d07b86c2098e2ad217 # Parent b5cb195b737bb7747c66f74780bf3196fa30e9d5 Tidy evtchn keyhandler a little Get rid of all the -1s and label the pending and masked columns. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx> --- xen/common/event_channel.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff -r b5cb195b737b -r 27e298295d68 xen/common/event_channel.c --- a/xen/common/event_channel.c Mon Sep 07 08:38:39 2009 +0100 +++ b/xen/common/event_channel.c Mon Sep 07 08:40:33 2009 +0100 @@ -1080,8 +1080,8 @@ static void domain_dump_evtchn_info(stru if ( !spin_trylock(&d->event_lock) ) return; - printk("Event channel information for domain %d:\n", - d->domain_id); + printk("Event channel information for domain %d:\n" + " port [p/m]\n", d->domain_id); for ( port = 1; port < MAX_EVTCHNS(d); ++port ) { @@ -1093,10 +1093,10 @@ static void domain_dump_evtchn_info(stru if ( chn->state == ECS_FREE ) continue; - printk(" %4u[%d/%d]: s=%d n=%d", + printk(" %4u [%d/%d]: s=%d n=%d", port, - test_bit(port, &shared_info(d, evtchn_pending)), - test_bit(port, &shared_info(d, evtchn_mask)), + !!test_bit(port, &shared_info(d, evtchn_pending)), + !!test_bit(port, &shared_info(d, evtchn_mask)), chn->state, chn->notify_vcpu_id); switch ( chn->state ) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |