]> git.proxmox.com Git - mirror_qemu.git/commit
tests/boot-sector: Add magic bytes to s390x boot code header
authorThomas Huth <thuth@redhat.com>
Fri, 8 Jun 2018 17:17:39 +0000 (13:17 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:39 +0000 (13:17 -0400)
commitb1dd6d2d270a2b72db47576635c51636f0db36e6
treebcfa16e21ed2d99e6019fb6e5a5301e256155260
parent017961262d318075fd224d16c6a0aee9890844e6
tests/boot-sector: Add magic bytes to s390x boot code header

We're going to use the s390x boot code for testing CD-ROM booting.
But the ISO loader of the s390-ccw bios is a little bit more picky
than the network loader and expects some magic bytes in the header
of the file (see linux_s390_magic in pc-bios/s390-ccw/bootmap.c), so
we've got to add them in our boot code here, too.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Acked-By: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
tests/boot-sector.c