KVM: s390: Gracefully handle busy conditions on ccw_device_start
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 7 Jan 2013 14:51:52 +0000 (15:51 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 9 Jan 2013 20:40:19 +0000 (18:40 -0200)
commitb26ba22bb4f12289f9d5eb878c490e674934a197
tree0782745449e21009e95e74ff6efbfbf7b14cf1d5
parent73fa21ea4fc662a2e8e85f84c4ca3fcb55fa4da2
KVM: s390: Gracefully handle busy conditions on ccw_device_start

In rare cases a virtio command might try to issue a ccw before a former
ccw was answered with a tsch. This will cause CC=2 (busy). Lets just
retry in that case.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
drivers/s390/kvm/virtio_ccw.c