virtio_ccw: finalize_features error handling
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 9 Dec 2014 10:46:59 +0000 (11:46 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 19:42:06 +0000 (21:42 +0200)
commitf01a2a811ae04124fc9382925038fcbbd2f0b7c8
tree7265d633ac1bbe24109ce8b79bad0c1712b61e18
parentf13d8bc2a16c5d1dd3dbd8b64dbd42cfe78da93e
virtio_ccw: finalize_features error handling

We previously tried to use device even if finalize_features failed, but
that's wrong since driver and device are now out of sync.

Fail probe if we detect failures during finalize_features.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/s390/kvm/virtio_ccw.c