]> git.proxmox.com Git - qemu.git/commit
s390: reset avail and used index on reboot
authorJens Freimann <jfrei@linux.vnet.ibm.com>
Thu, 26 Apr 2012 09:03:36 +0000 (09:03 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 1 May 2012 19:04:06 +0000 (21:04 +0200)
commit4170aea1a77d7adf9e35ab4d3c17086c38ca6c09
tree4d4f50dff271275e102569c86aea1a12e96bdfc3
parenteca3ed0343ba413937f34ad4f8c4822dc82924e5
s390: reset avail and used index on reboot

reset the guest vring avail/used idx fields, otherwise it's possible
that old values remain in memory which would cause a reboot to fail
with a "Guest moved used index" message

Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/s390-virtio-bus.c
hw/s390-virtio-bus.h
hw/s390-virtio.c