From: "Gregory Haskins" Subject: Re: In kernel PIC support: kernel patch Date: Fri, 22 Jun 2007 08:06:35 -0400 Message-ID: <467B830B0200005A000263FB@mcclure.wal.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Fri, 2007-06-22 at 12:57 +0300, Avi Kivity wrote: > Gregory Haskins wrote: > > > > Unless I misunderstood Avi, I think he was suggesting that use use > > KVM_EXTINT/ISA_INTERRUPT as a way to distinguish between the dual modes > > of ISA_INTERRUPT as I have today (e.g. > > ISA_INTERRUPT(level-1)/ISA_INTERRUPT(level-2)). This doesn't really > > have anything to do with LINT0/1 (directly, anyway). Hope this helps to > > clarify. > > > > Well, we don't need to think in terms of modes. Each ioctl controls > interrupts at a different point in the architecture. > > KVM_INTERRUPT is at the interface between the processor core and the > lapic/system bus. > > KVM_APIC_MESSAGE is at the apic bus. > > KVM_EXTINT is at the interface between the lapic and the system bus. If > the guest disabled the local apic, it's equivalent to the KVM_INTERRUPT > (injecting a vector directly); otherwise it is handled by the lapic > (LINT0/1 handling). Ok, now I understand what Eddie was saying about LINT0/1 and we were both describing the same thing in different ways. I think we are all on the same page. > > KVM_ISA_INTERRUPT (maybe KVM_IRQ_LINE, to signify it doesn't carry a > vector) is at the boundary between the interrupt controller chips and > the rest of the system. > Ack on s/ISA/IRQ or something similar ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/