On Sun, Oct 26, 2008 at 03:31:24PM +0200, Avi Kivity wrote: > Amit Shah wrote: >> +int piix3_get_pin(int pic_irq) >> +{ >> + int i; >> + for (i = 0; i < 4; i++) >> + if (piix3_dev->config[0x60+i] == pic_irq) >> + return i; >> + return -1; >> +} >> > > What happens if two pci interrupts are routed to one irq line?
This one I'm still thinking about. Cheers, Muli -- The First Workshop on I/O Virtualization (WIOV '08) Dec 2008, San Diego, CA, http://www.usenix.org/wiov08/ <-> SYSTOR 2009---The Israeli Experimental Systems Conference http://www.haifa.il.ibm.com/conferences/systor2009/ -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html