summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-08-30 13:50:45 +0200
committerAvi Kivity <avi@redhat.com>2010-10-24 10:52:19 +0200
commit7b4203e8cb5c5d9bc49da62b7a6fa4ba876a1b3f (patch)
treeb14c7ef749a8ec5c5b11b958a94ad25b19a3e6d4 /arch/powerpc/kvm
parent17bd158006a33615270f9dba15c62f49bd447435 (diff)
downloadop-kernel-dev-7b4203e8cb5c5d9bc49da62b7a6fa4ba876a1b3f.zip
op-kernel-dev-7b4203e8cb5c5d9bc49da62b7a6fa4ba876a1b3f.tar.gz
KVM: PPC: Expose level based interrupt cap
Now that we have all the level interrupt magic in place, let's expose the capability to user space, so it can make use of it! Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/powerpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index 028891c..2f87a16 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -192,6 +192,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_PPC_SEGSTATE:
case KVM_CAP_PPC_PAIRED_SINGLES:
case KVM_CAP_PPC_UNSET_IRQ:
+ case KVM_CAP_PPC_IRQ_LEVEL:
case KVM_CAP_ENABLE_CAP:
case KVM_CAP_PPC_OSI:
case KVM_CAP_PPC_GET_PVINFO:
OpenPOWER on IntegriCloud