diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-17 10:32:34 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-05-21 19:22:49 +0300 |
commit | 1e2aa8be09184156f438ba5199eaa12190c39acc (patch) | |
tree | 0414691d1c9b0aa27cb8bd6ad235ad651a1bd217 /kvm-all.c | |
parent | 92b4e489822d2126440f7645b116ebd5f63c0ef7 (diff) | |
download | hqemu-1e2aa8be09184156f438ba5199eaa12190c39acc.zip hqemu-1e2aa8be09184156f438ba5199eaa12190c39acc.tar.gz |
kvm: Publicize kvm_irqchip_release_virq
This allows to drop routes created by kvm_irqchip_add_irq/msi_route
again.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -955,7 +955,7 @@ int kvm_irqchip_commit_routes(KVMState *s) return kvm_vm_ioctl(s, KVM_SET_GSI_ROUTING, s->irq_routes); } -static void kvm_irqchip_release_virq(KVMState *s, int virq) +void kvm_irqchip_release_virq(KVMState *s, int virq) { struct kvm_irq_routing_entry *e; int i; |