summaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-12-10 13:00:45 +0200
committerMichael S. Tsirkin <mst@redhat.com>2012-12-17 13:02:28 +0200
commit1dd3a74d2ee2d873cde0b390b536e45420b3fe05 (patch)
treec56fa29b671f76c81ba412dd1a76d9855f41683c /kvm-all.c
parent2059946358999da80be22494af2d5c3174142902 (diff)
downloadqemu-1dd3a74d2ee2d873cde0b390b536e45420b3fe05.tar.gz
qemu-1dd3a74d2ee2d873cde0b390b536e45420b3fe05.tar.bz2
qemu-1dd3a74d2ee2d873cde0b390b536e45420b3fe05.zip
kvm: do not flush after deleting gsi
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>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kvm-all.c b/kvm-all.c
index bfa09ad05b..759ef17ab0 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)