RISC-V Patch for 4.1-rc3
The following changes since commit bf8b024372bf8abf5a9f40bfa65eeefad23ff988:
Update version for v4.1.0-rc2 release (2019-07-23 18:28:08 +0100)
are available in the Git repository at:
git://github.com/palmer-dabbelt/qemu.git tags/riscv-for-master-4.1-rc3
for you to fetch changes up to 75ea2529cf09aa4630c5357f9814f04b6697e8b7:
riscv/boot: Fixup the RISC-V firmware warning (2019-07-26 16:03:48 -0700)
----------------------------------------------------------------
RISC-V Patch for 4.1-rc3
This contains a single patch that fixes the warning introduced as part of the OpenSBI integration.
----------------------------------------------------------------
Alistair Francis (1):
riscv/boot: Fixup the RISC-V firmware warning
hw/riscv/boot.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
[Qemu-devel] [PULL] riscv/boot: Fixup the RISC-V firmware warning
From: Alistair Francis <[email protected]>
Fix a typo in the warning message displayed to users, don't print the message when running inside qtest and don't mention a specific QEMU version for the deprecation.
--- hw/riscv/boot.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
hw/riscv/boot.c +8 -4
@@ -26,6 +26,7 @@#include "hw/riscv/boot.h" #include "hw/boards.h" #include "elf.h" +#include "sysemu/qtest.h" #if defined(TARGET_RISCV32 )# define KERNEL_BOOT_ADDRESS 0x80400000
@@ -46,10 +47,13 @@ void riscv_find_and_load_firmware(MachineState *machine,* In the future this defaul will change to loading the prebuilt * OpenSBI firmware. Let's warn the user and then continue. */ -warn_report ("No -bios option specified. Not loading a firmware." ); -warn_report ("This default will change in QEMU 4.3. Please use the " \ -"-bios option to aviod breakages when this happens." ); -warn_report ("See QEMU's deprecation documentation for details" ); +if (!qtest_enabled ()) { +warn_report ("No -bios option specified. Not loading a firmware." ); +warn_report ("This default will change in a future QEMU release. " \ +"Please use the -bios option to avoid breakages when " \ +"this happens." ); +warn_report ("See QEMU's deprecation documentation for details." ); + }return ; }
Signature · 1 line
2.21.0
Peter Maydell
AppliedQuoted 16 lines · Palmer Dabbelt
The following changes since commit
bf8b024372bf8abf5a9f40bfa65eeefad23ff988:Update version for v4.1.0-rc2 release (2019-07-23 18:28:08 +0100)
are available in the Git repository at:
git://github.com/palmer-dabbelt/qemu.gittags/riscv-for-master-4.1-rc3for you to fetch changes up to
75ea2529cf09aa4630c5357f9814f04b6697e8b7:riscv/boot: Fixup the RISC-V firmware warning (2019-07-26 16:03:48 -0700)
----------------------------------------------------------------
RISC-V Patch for 4.1-rc3
Quoted 7 lines
This contains a single patch that fixes the warning introduced as part of the OpenSBI integration.
----------------------------------------------------------------
Alistair Francis (1):
riscv/boot: Fixup the RISC-V firmware warning
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.
-- PMM