KVM: Introduce CONFIG_HAVE_KVM_IRQ_ROUTING
authorAlexander Graf <agraf@suse.de>
Wed, 17 Apr 2013 11:29:30 +0000 (13:29 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:14 +0000 (20:27 +0200)
Quite a bit of code in KVM has been conditionalized on availability of
IOAPIC emulation. However, most of it is generically applicable to
platforms that don't have an IOPIC, but a different type of irq chip.

Make code that only relies on IRQ routing, not an APIC itself, on
CONFIG_HAVE_KVM_IRQ_ROUTING, so that we can reuse it later.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>

No differences found