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

Gerd Hoffmann posted 6 patches 1 year, 4 months ago
There is a newer version of this series
[PATCH v3 5/6] qemu: log reservations in fw_cfg e820 table
Posted by Gerd Hoffmann 1 year, 4 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 fc308bf1ef1d..02351b24caea 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -764,7 +764,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.40.1
Re: [PATCH v3 5/6] qemu: log reservations in fw_cfg e820 table
Posted by Philippe Mathieu-Daudé 1 year, 4 months ago
On 5/5/23 09:11, 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>