From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/8] KVM: Add irqdevice object Date: Sun, 13 May 2007 15:05:52 +0300 Message-ID: <4646FF20.2050709@qumranet.com> References: <20070509023731.23443.86578.stgit@novell1.haskins.net> <20070509030320.23443.51197.stgit@novell1.haskins.net> <64F9B87B6B770947A9F8391472E032160BBA6157@ehost011-8.exch011.intermedia.net> <4641D4D8.BA47.005A.0@novell.com> <64F9B87B6B770947A9F8391472E032160BBA6471@ehost011-8.exch011.intermedia.net> <4642170B.BA47.005A.0@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: Gregory Haskins Return-path: In-Reply-To: <4642170B.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org> 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 Gregory Haskins wrote: >>>> On Wed, May 9, 2007 at 6:12 PM, in message >>>> > <64F9B87B6B770947A9F8391472E032160BBA6471-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>, > "Dor Laor" wrote: > >> I wonder if VMX or SVM have an option of injecting several virq at once. >> > > VMX definitely does not (IIUC). I don't know enough about SVN to say for sure, but my gut tells me that its not likely. A physical CPU can only accept a single vector at a time, so I bet the virtual ones do as well. If there is more than one pending, I think the intention is to both inject the virq and set the IRQ_WINDOW_EXIT feature to exit on the next RFLAGS.IF window. > > IIRC SVM can queue a single interrupt. You tell it it's priority level, and it will inject it when eflags.if and tpr permit. Should be very useful. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/