]> git.proxmox.com Git - qemu.git/commit
virtio-ccw: Fix unsetting of indicators.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 5 Jun 2013 15:13:05 +0000 (17:13 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 11 Jun 2013 23:17:25 +0000 (18:17 -0500)
commit1fb147f4431759a442b024db47e9904cf0d90131
treea2bed6fc938d87f421b19330b11376a40cd78959
parent72762f28110e15ab88aea70ef09575fb1ff89b38
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>
(cherry picked from commit d1db1fa8dfcea9c62643f624f2a07d2fd375ce45)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/s390x/virtio-ccw.c