diff options
author | Sascha Silbe <silbe@linux.vnet.ibm.com> | 2016-09-19 21:12:03 +0200 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2016-09-28 13:24:51 +0200 |
commit | c679e74d2e29fa08ede9121d59aee4e9675611d7 (patch) | |
tree | 15297a8249488223ee6f6638693f57677fbbb9d0 /target-s390x | |
parent | 6b5ffb14b78f8bb4835d0cd8e3d2826720acfa43 (diff) |
s390x/css: {c,h,t,r,x}sch: require enable AND device number valid
According to the PoP, subchannels are only considered operational if
they are enabled _and_ the device number is valid. With the current
checks being enabled _or_ having a valid device number was
sufficient. This caused qemu to allow IO on subchannels that were not
enabled.
Fix the checks to require both bits to be set.
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'target-s390x')
0 files changed, 0 insertions, 0 deletions