commit | a725d56a02ec3582bb5b9756f261fdc6962c79ee | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Wed Apr 17 13:29:30 2013 +0200 |
committer | Alexander Graf <agraf@suse.de> | Fri Apr 26 20:27:14 2013 +0200 |
tree | 12951caba7ac5239b18b3aeaba875d4d29833a85 | |
parent | 8175e5b79c38a1d85225da516fa1a0ecbf2fdbca [diff] |
KVM: Introduce CONFIG_HAVE_KVM_IRQ_ROUTING 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>