KVM: Drop __KVM_HAVE_IOAPIC condition on irq routing
authorAlexander Graf <agraf@suse.de>
Mon, 15 Apr 2013 08:49:31 +0000 (10:49 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 18:27:15 +0000 (20:27 +0200)
commit948a902c842aaef49af9e48b00469229b04a43a9
treeee54c7705a557acb7fc58d8e55b6894aefac78c7
parenta725d56a02ec3582bb5b9756f261fdc6962c79ee
KVM: Drop __KVM_HAVE_IOAPIC condition on irq routing

We have a capability enquire system that allows user space to ask kvm
whether a feature is available.

The point behind this system is that we can have different kernel
configurations with different capabilities and user space can adjust
accordingly.

Because features can always be non existent, we can drop any #ifdefs
on CAP defines that could be used generically, like the irq routing
bits. These can be easily reused for non-IOAPIC systems as well.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
include/uapi/linux/kvm.h