aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-04-15 04:49:31 -0400
committerAlexander Graf <agraf@suse.de>2013-04-26 14:27:15 -0400
commit948a902c842aaef49af9e48b00469229b04a43a9 (patch)
treeee54c7705a557acb7fc58d8e55b6894aefac78c7 /include
parenta725d56a02ec3582bb5b9756f261fdc6962c79ee (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/kvm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index 74d0ff3dfd66..c741902c9e0b 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -579,9 +579,7 @@ struct kvm_ppc_smmu_info {
579#ifdef __KVM_HAVE_PIT 579#ifdef __KVM_HAVE_PIT
580#define KVM_CAP_REINJECT_CONTROL 24 580#define KVM_CAP_REINJECT_CONTROL 24
581#endif 581#endif
582#ifdef __KVM_HAVE_IOAPIC
583#define KVM_CAP_IRQ_ROUTING 25 582#define KVM_CAP_IRQ_ROUTING 25
584#endif
585#define KVM_CAP_IRQ_INJECT_STATUS 26 583#define KVM_CAP_IRQ_INJECT_STATUS 26
586#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT 584#ifdef __KVM_HAVE_DEVICE_ASSIGNMENT
587#define KVM_CAP_DEVICE_DEASSIGNMENT 27 585#define KVM_CAP_DEVICE_DEASSIGNMENT 27