All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2] qemu: improve hugepage allocation failure message
@ 2018-01-15 20:17 Marcelo Tosatti
  0 siblings, 0 replies; only message in thread
From: Marcelo Tosatti @ 2018-01-15 20:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini


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

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

---
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.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-15 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 20:17 [Qemu-devel] [PATCH v2] qemu: improve hugepage allocation failure message Marcelo Tosatti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.