diff options
| author | KONRAD Frederic | 2019-05-15 14:31:27 +0200 |
|---|---|---|
| committer | Mark Cave-Ayland | 2019-05-17 10:17:11 +0200 |
| commit | bd30132cd87001af51640d5f1b5754a5dc7fbbe6 (patch) | |
| tree | d3242a8cdf50888302a1897efbda0a338c81d441 /qapi/misc.json | |
| parent | hw/char/escc: Lower irq when transmit buffer is filled (diff) | |
| download | qemu-bd30132cd87001af51640d5f1b5754a5dc7fbbe6.tar.gz qemu-bd30132cd87001af51640d5f1b5754a5dc7fbbe6.tar.xz qemu-bd30132cd87001af51640d5f1b5754a5dc7fbbe6.zip | |
leon3: fix the error message when no bios are provided
The leon3 board is looking for u-boot.bin by default (LEON3_PROM_FILENAME)..
But in the case this file is not found and no other file are given on the
command line we get the following error:
$ ./qemu-system-sparc -M leon3_generic
qemu-system-sparc: Can't read bios image (null)
So use LEON3_PROM_FILENAME instead of filename in case it is NULL to get a
less cryptic message:
$ ./qemu-system-sparc -M leon3_generic
qemu-system-sparc: Can't read bios image 'u-boot.bin'
Suggested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'qapi/misc.json')
0 files changed, 0 insertions, 0 deletions
