qemu/hw/s390x
Sascha Silbe c679e74d2e 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>
2016-09-28 13:24:51 +02:00
..
Makefile.objs
ccw-device.c
ccw-device.h
css-bridge.c
css.c s390x/css: {c,h,t,r,x}sch: require enable AND device number valid 2016-09-28 13:24:51 +02:00
event-facility.c
ipl.c
ipl.h
s390-pci-bus.c s390x/pci: code cleanup 2016-09-28 13:24:51 +02:00
s390-pci-bus.h s390x/pci: assign msix io region for each pci device 2016-09-28 13:24:51 +02:00
s390-pci-inst.c s390x/pci: re-arrange variable declarations 2016-09-28 13:24:50 +02:00
s390-pci-inst.h
s390-skeys-kvm.c
s390-skeys.c
s390-virtio-ccw.c s390x/kvm: disable cpu model for the 2.7 machine 2016-09-19 11:05:51 +02:00
s390-virtio-hcall.c
s390-virtio.c
s390-virtio.h
sclp.c
sclpcpu.c
sclpquiesce.c
trace-events
virtio-ccw.c Couple of s390x patches: 2016-09-19 12:41:28 +01:00
virtio-ccw.h virtio-ccw: set revision 2 as maximal revision number 2016-09-19 11:05:51 +02:00