summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
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/kvm
parent8a366a4bae154b986df475176d7465c1db7d5f40 (diff)
downloadop-kernel-dev-78599d90041e0af5702eb45081a77b65d2941a00.zip
op-kernel-dev-78599d90041e0af5702eb45081a77b65d2941a00.tar.gz
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/kvm')
-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 dd902e6..339b34a 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;
OpenPOWER on IntegriCloud