xemu/pc-bios/s390-ccw
Thomas Huth 6ba1f714c0 pc-bios/s390-ccw: Re-initialize receive queue index before each boot attempt
Now that we can boot from multiple boot devices, we have to make sure
to reinitialize static variables like rx_last_idx to avoid that they
contain garbage data during the second boot attempt (which can lead to
crashes when the code tries to access the wrong ring data).

Message-ID: <20241111131120.317796-1-thuth@redhat.com>
Reviewed-by: Jared Rossi <jrossi@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2024-11-18 17:14:35 +01:00
..
Makefile pc-bios/s390-ccw: Introduce `EXTRA_LDFLAGS` 2024-10-23 06:53:44 +02:00
bootmap.c pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00
bootmap.h pc-bios/s390-ccw: Remove panics from ECKD IPL path 2024-10-23 06:53:44 +02:00
bswap.h pc-bios/s390-ccw: Move byteswap functions to a separate header 2017-07-14 12:29:48 +02:00
cio.c pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00
cio.h pc-bios/s390-ccw: Link the netboot code into the main s390-ccw.img binary 2024-10-23 06:53:44 +02:00
dasd-ipl.c pc-bios/s390-ccw: Remove panics from DASD IPL path 2024-10-23 06:53:44 +02:00
dasd-ipl.h pc-bios/s390-ccw: Remove panics from DASD IPL path 2024-10-23 06:53:44 +02:00
helper.h s390-ccw: Getting rid of ulong 2023-06-29 20:43:19 +02:00
iplb.h pc-bios/s390x: Enable multi-device boot loop 2024-10-23 06:53:44 +02:00
jump2ipl.c pc-bios/s390x: Enable multi-device boot loop 2024-10-23 06:53:44 +02:00
main.c pc-bios/s390x: Initialize machine loadparm before probing IPL devices 2024-11-18 17:14:35 +01:00
menu.c pc-bios/s390-ccw: Use the libc from SLOF and remove sclp prints 2024-10-23 06:53:44 +02:00
netmain.c pc-bios/s390x: Enable multi-device boot loop 2024-10-23 06:53:44 +02:00
s390-arch.h pc-bios: s390x: Clear out leftover S390EP string 2020-11-23 09:48:45 +01:00
s390-ccw.h pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00
s390-time.h pc-bios: s390x: Consolidate timing functions into time.h 2020-07-02 09:59:24 +02:00
sclp.c pc-bios/s390-ccw: Use the libc from SLOF and remove sclp prints 2024-10-23 06:53:44 +02:00
sclp.h misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
scsi.h pc-bios/s390-ccw: Get Block Limits VPD device data 2017-05-19 12:29:01 +02:00
start.S pc-bios/s390-ccw: Don't generate TEXTRELs 2024-10-23 06:53:44 +02:00
virtio-blkdev.c pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00
virtio-net.c pc-bios/s390-ccw: Re-initialize receive queue index before each boot attempt 2024-11-18 17:14:35 +01:00
virtio-scsi.c pc-bios/s390-ccw: Remove panics from SCSI IPL path 2024-10-23 06:53:44 +02:00
virtio-scsi.h s390-ccw: Getting rid of ulong 2023-06-29 20:43:19 +02:00
virtio.c pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00
virtio.h pc-bios/s390-ccw: Enable failed IPL to return after error 2024-10-23 06:53:44 +02:00