tests/boot-serial-test: Add code to allow to specify our own kernel or bios
commite12c08d3b67c4f4e5a16ee815188fc13632530ce
authorThomas Huth <thuth@redhat.com>
Thu, 30 Nov 2017 08:53:03 +0000 (30 09:53 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Dec 2017 08:30:28 +0000 (21 09:30 +0100)
tree2de334bfcfe8af673bfbc405c11a46531024e608
parent92b540dac9fc3a572c7342edd0b073000f5a6abf
tests/boot-serial-test: Add code to allow to specify our own kernel or bios

QEMU only ships with some few firmware images, i.e. we can currently run
the boot-serial test only on a very limited set of machines. But writing
some characters to the default UART of a machine can often be done with
some few lines of assembly, so we add the possibility to the boot-serial
tester to use its own mini-kernels or mini-firmwares. We write such images
then into a file that we can load with the "-kernel" or "-bios" parameter
when we launch QEMU.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1512031988-32490-3-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/boot-serial-test.c