kvm: Make kvm_irqchip_commit_routes an internal service
commite7b2030862f63ee02331940b9f1742cd025c1908
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 17 May 2012 13:32:35 +0000 (17 10:32 -0300)
committerAvi Kivity <avi@redhat.com>
Mon, 21 May 2012 16:22:49 +0000 (21 19:22 +0300)
tree0e90e3c833df6e435e288c623cf53e429b5623a3
parent1e2aa8be09184156f438ba5199eaa12190c39acc
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>
hw/pc_piix.c
kvm-all.c
kvm.h