]> Git Repo - qemu.git/commit
pc-bios/s390-ccw: zero out bss section
authorChristian Borntraeger <[email protected]>
Wed, 22 Nov 2017 14:26:27 +0000 (15:26 +0100)
committerCornelia Huck <[email protected]>
Thu, 14 Dec 2017 16:56:54 +0000 (17:56 +0100)
commit339686a358b11a231aa5b6d1424e7a1460d7f277
tree9c017fd7c61e3b0c37038dd8655a665d9d1dabcc
parent39b28b26cf5b7d397bbc5cd1750971efad331b4b
pc-bios/s390-ccw: zero out bss section

The QEMU ELF loader does not zero the bss segment.
This resulted in several bugs, e.g. see

commit 5d739a4787a5 (s390-ccw.img: Fix sporadic errors with ccw boot image - initialize css)
commit 6a40fa2669d3 (s390-ccw.img: Initialize next_idx)
commit 8775d91a0f42 (pc-bios/s390-ccw: Fix problem with invalid virtio-scsi LUN when rebooting)

Let's fix this once and forever by letting the BIOS zero the bss itself.

Suggested-by: Alexander Graf <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Message-Id: <20171122142627[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
pc-bios/s390-ccw/start.S
This page took 0.027164 seconds and 4 git commands to generate.