From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 09/10] KVM: Add statistics from interrupt subsystem Date: Mon, 14 May 2007 14:17:51 +0300 Message-ID: <4648455F.6030405@qumranet.com> References: <20070510123831.10200.4769.stgit@novell1.haskins.net> <20070510124726.10200.53053.stgit@novell1.haskins.net> 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: <20070510124726.10200.53053.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@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: > * then wake up the vcpu (if necessary) > @@ -2540,6 +2544,7 @@ static void kvm_vcpu_intr(struct kvm_irqsink *this, > */ > direct_ipi = task_cpu(vcpu->irq.task); > BUG_ON(direct_ipi == smp_processor_id()); > + ++vcpu->stat.guest_intr; > } else { > /* > Maybe call it guest_preempt to make it a bit more specific. -- 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/