tests/cdrom-test: Test booting from CD-ROM ISO image file
commit42f455054f8301ce18936b583e8354551a4f2c17
authorThomas Huth <thuth@redhat.com>
Fri, 8 Jun 2018 17:17:39 +0000 (8 13:17 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:39 +0000 (8 13:17 -0400)
tree9514be52ab32bec89ba1a36206d473dea3ccbd56
parentb1dd6d2d270a2b72db47576635c51636f0db36e6
tests/cdrom-test: Test booting from CD-ROM ISO image file

We already have the code for a boot file in tests/boot-sector.c,
so if the genisoimage program is available, we can easily create
a bootable CD ISO image that we can use for testing whether our
CD-ROM emulation and the BIOS CD-ROM boot works correctly.

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/Makefile.include
tests/cdrom-test.c [new file with mode: 0644]