From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 2/2] KVM: Avoid needless registrations of IRQ ack notifier for assigned devices Date: Mon, 12 Sep 2011 09:35:22 -0300 Message-ID: <20110912123522.GC14276@amt.cnet> References: <4E6C6E54.2000107@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50697 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753771Ab1ILMnp (ORCPT ); Mon, 12 Sep 2011 08:43:45 -0400 Content-Disposition: inline In-Reply-To: <4E6C6E54.2000107@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Sep 11, 2011 at 10:16:20AM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > We only perform work in kvm_assigned_dev_ack_irq if the guest IRQ is of > INTx type. This completely avoids the callback invocation in non-INTx > cases by registering the IRQ ack notifier only for INTx. > > Signed-off-by: Jan Kiszka Applied both, thanks.