]> git.proxmox.com Git - qemu.git/commitdiff
kvm: do not flush after deleting gsi
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Dec 2012 11:00:45 +0000 (13:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 17 Dec 2012 11:02:28 +0000 (13:02 +0200)
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 <mst@redhat.com>
kvm-all.c

index bfa09ad05bbca2d75c16c155536a7c97ba93dd20..759ef17ab0f2df34974208bb4411e3fbdd6bf621 100644 (file)
--- 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)