]> git.proxmox.com Git - mirror_qemu.git/commit
riscv: Change the default behavior if no -bios option is specified
authorBin Meng <bin.meng@windriver.com>
Fri, 1 May 2020 12:19:05 +0000 (05:19 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 3 Jun 2020 16:11:51 +0000 (09:11 -0700)
commit087a42467405de45674f76da6a72406764cde6a6
treeaf46421cde4c3ea89313a7c449236611ce86fa95
parentac5f7246d74eecb1da1e5561d933a3c139c71c78
riscv: Change the default behavior if no -bios option is specified

Per QEMU deprecated doc, QEMU 4.1 introduced support for the -bios
option in QEMU for RISC-V for the virt machine and sifive_u machine.
The default behavior has been that QEMU does not automatically load
any firmware if no -bios option is included.

Now 2 releases passed, it's time to change the default behavior to
load the default OpenSBI firmware automatically. The firmware is
included with the QEMU release and no user interaction is required.
All a user needs to do is specify the kernel they want to boot with
the -kernel option.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1588335545-649-1-git-send-email-bmeng.cn@gmail.com
Message-Id: <1588335545-649-1-git-send-email-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/boot.c