mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
abd137a1bc
commit
441ea695f9
2 changed files with 5 additions and 3 deletions
|
@ -115,6 +115,7 @@ struct vring_used {
|
|||
struct vring {
|
||||
unsigned int num;
|
||||
int next_idx;
|
||||
int used_idx;
|
||||
struct vring_desc *desc;
|
||||
struct vring_avail *avail;
|
||||
struct vring_used *used;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue