]> xenbits.xensource.com Git - qemu-xen.git/commit
riscv: Resolve full path of the given bios image
authorBin Meng <bmeng.cn@gmail.com>
Fri, 16 Aug 2019 13:09:36 +0000 (06:09 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Tue, 17 Sep 2019 15:42:43 +0000 (08:42 -0700)
commit49dd180e4f3e0af8ab8a54fec5058b6cd89e5942
tree32b4ca83cecd9a7a902d37279eb7f315df017c21
parent751f8f41331951077f3fc17dd245c23b5a18b595
riscv: Resolve full path of the given bios image

At present when "-bios image" is supplied, we just use the straight
path without searching for the configured data directories. Like
"-bios default", we add the same logic so that "-L" actually works.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
hw/riscv/boot.c