From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tijoa-0003AZ-QW for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:45:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TijoT-0006gg-8q for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:45:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TijoT-0006gZ-0p for qemu-devel@nongnu.org; Wed, 12 Dec 2012 05:45:17 -0500 Date: Wed, 12 Dec 2012 12:48:21 +0200 From: "Michael S. Tsirkin" Message-ID: <20121212104821.GA6324@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] kvm: do not flush after deleting gsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, asias@redhat.com Cc: Peter Maydell , kvm@vger.kernel.org, "Michael S. Tsirkin" , Jan Kiszka , Marcelo Tosatti , Avi Kivity Deleting a GSI isn't necessary: it is enough to stop using it. Delay flush until an entry is used. Signed-off-by: Michael S. Tsirkin --- kvm-all.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index 3bc3347..fb3180d 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -991,8 +991,6 @@ void kvm_irqchip_release_virq(KVMState *s, int virq) } } clear_gsi(s, virq); - - kvm_irqchip_commit_routes(s); } static unsigned int kvm_hash_msi(uint32_t data) -- MST