virtio-ccw: Fix unsetting of indicators.
commitd1db1fa8dfcea9c62643f624f2a07d2fd375ce45
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 5 Jun 2013 15:13:05 +0000 (5 17:13 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 6 Jun 2013 08:25:59 +0000 (6 10:25 +0200)
tree58966d3259f7b37696bfc98cf460252825256f5a
parent8312976e73fce9689ab831c1da565ec413680cff
virtio-ccw: Fix unsetting of indicators.

Interpretation of the ccws to register (configuration) indicators contained
a thinko: We want to disallow reading from 0, but setting the indicator
pointer to 0 is fine.

Let's fix the handling for CCW_CMD_SET{,_CONF}_IND.

Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/virtio-ccw.c