[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 6/8] hw/i386/microvm: Reduce annoying debug message in dt_setup_mi
From: |
Gerd Hoffmann |
Subject: |
[PULL 6/8] hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm() |
Date: |
Mon, 22 Nov 2021 13:40:13 +0100 |
From: Philippe Mathieu-Daudé <philmd@redhat.com>
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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/i386/microvm-dt.c b/hw/i386/microvm-dt.c
index 875ba9196394..6ee6c42904d2 100644
--- 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) {
--
2.33.1
- [PULL 0/8] Fixes 20211122 patches, Gerd Hoffmann, 2021/11/22
- [PULL 1/8] ui: fix incorrect scaling on highdpi with gtk/opengl, Gerd Hoffmann, 2021/11/22
- [PULL 3/8] ui/gtk: graphic_hw_gl_flushed after closing dmabuf->fence_fd, Gerd Hoffmann, 2021/11/22
- [PULL 2/8] ui: fix incorrect pointer position on highdpi with gtk, Gerd Hoffmann, 2021/11/22
- [PULL 5/8] migration: fix dump-vmstate with modules, Gerd Hoffmann, 2021/11/22
- [PULL 4/8] ui/vnc-clipboard: fix adding notifier twice, Gerd Hoffmann, 2021/11/22
- [PULL 7/8] microvm: add missing g_free() call, Gerd Hoffmann, 2021/11/22
- [PULL 6/8] hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm(),
Gerd Hoffmann <=
- [PULL 8/8] microvm: check g_file_set_contents() return value, Gerd Hoffmann, 2021/11/22
- Re: [PULL 0/8] Fixes 20211122 patches, Richard Henderson, 2021/11/22