summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2014-07-15 09:54:39 +0200
committerChristian Borntraeger <borntraeger@de.ibm.com>2014-07-21 13:22:47 +0200
commit78599d90041e0af5702eb45081a77b65d2941a00 (patch)
tree4de6774cafda5bf87ff84ccd801b5b5a9e28b34d /arch/s390
parentKVM: s390: document KVM_CAP_S390_IRQCHIP (diff)
downloadlinux-78599d90041e0af5702eb45081a77b65d2941a00.tar.xz
linux-78599d90041e0af5702eb45081a77b65d2941a00.zip
KVM: s390: advertise KVM_CAP_S390_IRQCHIP
We should advertise all capabilities, including those that can be enabled. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kvm/kvm-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index dd902e64c033..339b34a02fb8 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -166,6 +166,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_IOEVENTFD:
case KVM_CAP_DEVICE_CTRL:
case KVM_CAP_ENABLE_CAP_VM:
+ case KVM_CAP_S390_IRQCHIP:
case KVM_CAP_VM_ATTRIBUTES:
case KVM_CAP_MP_STATE:
r = 1;