debuggers.hg

changeset 3332:cd853615e655

bitkeeper revision 1.1159.1.487 (41c1a6a3A4oeBsOqAlUgIz4zo-l3aA)

Don't deliver misdirect virq's.
author cl349@arcadians.cl.cam.ac.uk
date Thu Dec 16 15:15:47 2004 +0000 (2004-12-16)
parents 5de01047a378
children c65b544a8c4e 53a0cc27ab17
files xen/include/xen/event.h
line diff
     1.1 --- a/xen/include/xen/event.h	Thu Dec 16 15:15:24 2004 +0000
     1.2 +++ b/xen/include/xen/event.h	Thu Dec 16 15:15:47 2004 +0000
     1.3 @@ -59,10 +59,8 @@ static inline void send_guest_virq(struc
     1.4  {
     1.5      int port = ed->virq_to_evtchn[virq];
     1.6  
     1.7 -    /* Always deliver misdirect virq's to exec domain 0. */
     1.8 -    if ( unlikely(port == 0) )
     1.9 -        ed = ed->domain->exec_domain[0];
    1.10 -    evtchn_set_pending(ed, port);
    1.11 +    if ( likely(port != 0) )
    1.12 +        evtchn_set_pending(ed, port);
    1.13  }
    1.14  
    1.15  /*