qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2] qemu: improve hugepage allocation failure messag


From: Marcelo Tosatti
Subject: [Qemu-devel] [PATCH v2] qemu: improve hugepage allocation failure message
Date: Mon, 15 Jan 2018 18:17:01 -0200
User-agent: Mutt/1.5.21 (2010-09-15)

Improve hugepage allocation failure message, indicating
what is happening to the user.

Signed-off-by: Marcelo Tosatti <address@hidden>

---
v2: move to allocate_system_memory_nonnuma (Paolo)
    s/whats/what is/ (Eric)

diff --git a/numa.c b/numa.c
index 7b9c33a..1f1aff1 100644
--- a/numa.c
+++ b/numa.c
@@ -463,6 +463,7 @@ static void allocate_system_memory_nonnuma(MemoryRegion 
*mr, Object *owner,
             if (mem_prealloc) {
                 exit(1);
             }
+            error_report("falling back to regular RAM allocation.");
 
             /* Legacy behavior: if allocation failed, fall back to
              * regular RAM allocation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]