aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-17 10:32:35 -0300
committerAvi Kivity <avi@redhat.com>2012-05-21 19:22:49 +0300
commite7b2030862f63ee02331940b9f1742cd025c1908 (patch)
tree0e90e3c833df6e435e288c623cf53e429b5623a3 /kvm.h
parent1e2aa8be09184156f438ba5199eaa12190c39acc (diff)
downloadqemu-e7b2030862f63ee02331940b9f1742cd025c1908.zip
qemu-e7b2030862f63ee02331940b9f1742cd025c1908.tar.gz
qemu-e7b2030862f63ee02331940b9f1742cd025c1908.tar.bz2
kvm: Make kvm_irqchip_commit_routes an internal service
Automatically commit route changes after kvm_add_routing_entry and kvm_irqchip_release_virq. There is no performance relevant use case for which collecting multiple route changes is beneficial. This makes kvm_irqchip_commit_routes an internal service which assert()s that the corresponding IOCTL will always succeed. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kvm.h b/kvm.h
index 1779e73..f0d0c53 100644
--- a/kvm.h
+++ b/kvm.h
@@ -135,7 +135,6 @@ int kvm_irqchip_set_irq(KVMState *s, int irq, int level);
int kvm_irqchip_send_msi(KVMState *s, MSIMessage msg);
void kvm_irqchip_add_irq_route(KVMState *s, int gsi, int irqchip, int pin);
-int kvm_irqchip_commit_routes(KVMState *s);
void kvm_put_apic_state(DeviceState *d, struct kvm_lapic_state *kapic);
void kvm_get_apic_state(DeviceState *d, struct kvm_lapic_state *kapic);