s390/ipl: Fix waiting for virtio processing
commit441ea695f9e9d64399f69904c2dd12e59963f1a4
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 29 Aug 2013 15:52:43 +0000 (29 17:52 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 20 Sep 2013 10:46:53 +0000 (20 12:46 +0200)
tree80e9164bfc52201e7b521c5b33efa0cb6337fb8e
parentabd137a1bc72614e1e6ca1cd9502426e4b4f7e6a
s390/ipl: Fix waiting for virtio processing

The guest side must not manipulate the index for the used buffers. Instead,
remember the state of the used buffer locally and wait until it has moved.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
pc-bios/s390-ccw/virtio.c
pc-bios/s390-ccw/virtio.h