summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2018-01-15 18:17:01 -0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-02-05 13:54:38 +0100
commite85687ffe2233e35864cb1c307183df29c05f622 (patch)
treef1bc46a14b4d5ce218da066be01daeb56a8d2dd6
parentfe29141bee3e8603a39838897698d8349c3daef0 (diff)
downloadfocaccia-qemu-e85687ffe2233e35864cb1c307183df29c05f622.tar.gz
focaccia-qemu-e85687ffe2233e35864cb1c307183df29c05f622.zip
qemu: improve hugepage allocation failure message
Improve hugepage allocation failure message, indicating
what is happening to the user.

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

Message-Id: <20180115201700.GA4439@amt.cnet>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--numa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numa.c b/numa.c
index 83675a03f3..a9528aaa7d 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.