KVM: s390: advertise KVM_CAP_S390_IRQCHIP
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 15 Jul 2014 07:54:39 +0000 (09:54 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 21 Jul 2014 11:22:47 +0000 (13:22 +0200)
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>
arch/s390/kvm/kvm-s390.c

index dd902e64c033d9b77b0397510523ab8585ec3293..339b34a02fb8bde7b4a3dad72ceada710a675590 100644 (file)
@@ -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;