direct-io.hg

changeset 2943:94930ba41a23

bitkeeper revision 1.1159.1.411 (41938f5atLOST7mvpvTjqYngsCYHOg)

Route physical IRQs to the processor which is running the domain requesting
the IRQ.
author cl349@freefall.cl.cam.ac.uk
date Thu Nov 11 16:12:10 2004 +0000 (2004-11-11)
parents 4434c7806300
children 1f88cb43f263
files xen/arch/x86/irq.c
line diff
     1.1 --- a/xen/arch/x86/irq.c	Thu Nov 11 16:10:57 2004 +0000
     1.2 +++ b/xen/arch/x86/irq.c	Thu Nov 11 16:12:10 2004 +0000
     1.3 @@ -280,7 +280,7 @@ int pirq_guest_bind(struct exec_domain *
     1.4          /* Attempt to bind the interrupt target to the correct CPU. */
     1.5          if ( desc->handler->set_affinity != NULL )
     1.6              desc->handler->set_affinity(
     1.7 -                irq, apicid_to_phys_cpu_present(d->exec_domain[0]->processor));
     1.8 +                irq, apicid_to_phys_cpu_present(ed->processor));
     1.9      }
    1.10      else if ( !will_share || !action->shareable )
    1.11      {