Skip to content

Commit

Permalink
kvm: do not flush after deleting gsi
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mstsirkin committed Dec 17, 2012
1 parent 2059946 commit 1dd3a74
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kvm-all.c
Expand Up @@ -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)
Expand Down

0 comments on commit 1dd3a74

Please sign in to comment.