s390/ipl: Fix spurious errors in virtio
commit39c93c67c5995bd8db7a3fa3b95dcd4e6bc881a7
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 23 May 2013 11:51:41 +0000 (23 13:51 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 31 May 2013 17:50:46 +0000 (31 12:50 -0500)
tree63336375166a322f3f1c61413c23f162eb847e18
parent0a1f348c429a6af0ba6448e5b3ae08dbc8e28696
s390/ipl: Fix spurious errors in virtio

With the ccw ipl code sometimes an error message like
"virtio: trying to map MMIO memory" or
"Guest moved used index from %u to %u" appeared. Turns out
that the ccw bios did not zero out the vring, which might
cause stale values in avail->idx and friends, especially
on reboot.

Lets zero out the relevant fields. To activate the patch we
need to rebuild s390-ccw.img as well.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-id: 1369309901-418-1-git-send-email-borntraeger@de.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
pc-bios/s390-ccw/virtio.c