KVM: s390: fix ais handling vs cpu model
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 31 May 2017 08:18:55 +0000 (10:18 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 31 May 2017 17:54:49 +0000 (19:54 +0200)
commit1ba15b24f07c44f68067959522639226c963e212
tree9818cb497c4c898e1496203909478143d2811836
parent55c315ee09d3bd37f9d71e85e54d6ebe675b6462
KVM: s390: fix ais handling vs cpu model

If ais is disabled via cpumodel, we must act accordingly, even if
KVM_CAP_S390_AIS was enabled.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Eric Farman <farman@linux.vnet.ibm.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/interrupt.c
arch/s390/kvm/kvm-s390.c