projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4067691
)
hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm()
author
Philippe Mathieu-Daudé
<philmd@redhat.com>
Wed, 17 Nov 2021 17:43:31 +0000
(18:43 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 22 Nov 2021 10:14:28 +0000
(11:14 +0100)
Fixes: f5918a99283 ("microvm: add device tree support.")
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <
20211117174331
.
1715144
-1-philmd@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/i386/microvm-dt.c
patch
|
blob
|
history
diff --git
a/hw/i386/microvm-dt.c
b/hw/i386/microvm-dt.c
index 875ba9196394049fd0461869a41fc61bab4e50c7..6ee6c42904d217fa7c2e2c2a0fd9e3b0fcc6b28a 100644
(file)
--- a/
hw/i386/microvm-dt.c
+++ b/
hw/i386/microvm-dt.c
@@
-327,7
+327,9
@@
void dt_setup_microvm(MicrovmMachineState *mms)
dt_setup_sys_bus(mms);
/* add to fw_cfg */
- fprintf(stderr, "%s: add etc/fdt to fw_cfg\n", __func__);
+ if (debug) {
+ fprintf(stderr, "%s: add etc/fdt to fw_cfg\n", __func__);
+ }
fw_cfg_add_file(x86ms->fw_cfg, "etc/fdt", mms->fdt, size);
if (debug) {