aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-11-11 14:11:20 +0100
committerThomas Huth <thuth@redhat.com>2024-11-18 17:14:35 +0100
commit6ba1f714c00f8839a8df9f643e0058f00da3fd25 (patch)
tree35c7da6df418c94564bdca3558dfb6f55e2e3a8b /module-common.c
parent1056ca1e70dc6e0458238141bcebfb7810cede6d (diff)
downloadqemu-6ba1f714c00f8839a8df9f643e0058f00da3fd25.zip
qemu-6ba1f714c00f8839a8df9f643e0058f00da3fd25.tar.gz
qemu-6ba1f714c00f8839a8df9f643e0058f00da3fd25.tar.bz2
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>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions