From patchwork Wed Dec 12 10:48:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: kvm: do not flush after deleting gsi Date: Wed, 12 Dec 2012 00:48:21 -0000 From: "Michael S. Tsirkin" X-Patchwork-Id: 205477 Message-Id: <20121212104821.GA6324@redhat.com> 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 Reviewed-by: Jan Kiszka --- 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)