aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-17 10:32:34 -0300
committerAvi Kivity <avi@redhat.com>2012-05-21 19:22:49 +0300
commit1e2aa8be09184156f438ba5199eaa12190c39acc (patch)
tree0414691d1c9b0aa27cb8bd6ad235ad651a1bd217 /kvm-stub.c
parent92b4e489822d2126440f7645b116ebd5f63c0ef7 (diff)
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-stub.c')
-rw-r--r--kvm-stub.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index db3a7dc183..ec351d9067 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -136,3 +136,7 @@ int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg)
{
return -ENOSYS;
}
+
+void kvm_irqchip_release_virq(KVMState *s, int virq)
+{
+}