[PATCH v4 5/6] qemu: log reservations in fw_cfg e820 table

Gerd Hoffmann posted 6 patches 1 year, 8 months ago
[PATCH v4 5/6] qemu: log reservations in fw_cfg e820 table
Posted by Gerd Hoffmann 1 year, 8 months ago
With loglevel 1 (same we use for RAM entries),
so it is included in the firmware log by default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/fw/paravirt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c
index 3aee4c0d4e6b..e5d4eca0cb5a 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -765,7 +765,7 @@ static int qemu_early_e820(void)
         switch (table.type) {
         case E820_RESERVED:
             e820_add(table.address, table.length, table.type);
-            dprintf(3, "qemu/e820: addr 0x%016llx len 0x%016llx [reserved]\n",
+            dprintf(1, "qemu/e820: addr 0x%016llx len 0x%016llx [reserved]\n",
                     table.address, table.length);
             break;
         case E820_RAM:
-- 
2.41.0
Re: [PATCH v4 5/6] qemu: log reservations in fw_cfg e820 table
Posted by Philippe Mathieu-Daudé 1 year, 8 months ago
On 24/8/23 10:57, Gerd Hoffmann wrote:
> With loglevel 1 (same we use for RAM entries),
> so it is included in the firmware log by default.
> 
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
>   src/fw/paravirt.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>