]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit383804164831876206c430092aae7fb7d4dc0fd7
treeee54c7705a557acb7fc58d8e55b6894aefac78c7
parenta4bf2c77c325e593c2c568ea60df0b5c1b8e3283
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