* [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3
@ 2019-07-26 23:27 Palmer Dabbelt
2019-07-26 23:27 ` [Qemu-devel] [PULL] riscv/boot: Fixup the RISC-V firmware warning Palmer Dabbelt
2019-07-29 10:34 ` [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2019-07-26 23:27 UTC (permalink / raw)
To: Peter Maydell; +Cc: qemu-riscv, qemu-devel
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(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL] riscv/boot: Fixup the RISC-V firmware warning
2019-07-26 23:27 [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Palmer Dabbelt
@ 2019-07-26 23:27 ` Palmer Dabbelt
2019-07-29 10:34 ` [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2019-07-26 23:27 UTC (permalink / raw)
To: Peter Maydell
Cc: Alistair Francis, Palmer Dabbelt, qemu-riscv, qemu-devel,
ilippe=20Mathieu-Daud=C3=A9?=
From: Alistair Francis <alistair.francis@wdc.com>
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.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
---
hw/riscv/boot.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/riscv/boot.c b/hw/riscv/boot.c
index 5dee63011b43..6b7d322e857c 100644
--- a/hw/riscv/boot.c
+++ b/hw/riscv/boot.c
@@ -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;
}
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3
2019-07-26 23:27 [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Palmer Dabbelt
2019-07-26 23:27 ` [Qemu-devel] [PULL] riscv/boot: Fixup the RISC-V firmware warning Palmer Dabbelt
@ 2019-07-29 10:34 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2019-07-29 10:34 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: open list:RISC-V, QEMU Developers
On Sat, 27 Jul 2019 at 00:27, Palmer Dabbelt <palmer@sifive.com> wrote:
>
> 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
>
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-29 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 23:27 [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Palmer Dabbelt
2019-07-26 23:27 ` [Qemu-devel] [PULL] riscv/boot: Fixup the RISC-V firmware warning Palmer Dabbelt
2019-07-29 10:34 ` [Qemu-devel] [PULL] RISC-V Patch for 4.1-rc3 Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).