diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-11-17 18:43:31 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-11-22 11:14:28 +0100 |
commit | d612405ed2a1163a142f94552a9874ad4b02de30 (patch) | |
tree | c547d7eb6948080cb9a91bfee9ddb05ed697018e /hw/i386/microvm-dt.c | |
parent | 4067691a2fed9a7639b1264b07c131d8e11f2b4f (diff) |
hw/i386/microvm: Reduce annoying debug message in dt_setup_microvm()
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>
Diffstat (limited to 'hw/i386/microvm-dt.c')
-rw-r--r-- | hw/i386/microvm-dt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/i386/microvm-dt.c b/hw/i386/microvm-dt.c index 875ba91963..6ee6c42904 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) { |