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>
Showing
- arch/x86/kvm/Kconfig 1 addition, 0 deletionsarch/x86/kvm/Kconfig
- include/linux/kvm_host.h 3 additions, 3 deletionsinclude/linux/kvm_host.h
- virt/kvm/Kconfig 3 additions, 0 deletionsvirt/kvm/Kconfig
- virt/kvm/eventfd.c 3 additions, 3 deletionsvirt/kvm/eventfd.c
- virt/kvm/kvm_main.c 1 addition, 1 deletionvirt/kvm/kvm_main.c
Loading
Please register or sign in to comment