From: Marcelo Tosatti Date: Mon, 15 Jan 2018 20:17:01 +0000 (-0200) Subject: qemu: improve hugepage allocation failure message X-Git-Tag: v2.12.0-rc0~107^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85687ffe2233e35864cb1c307183df29c05f622;p=thirdparty%2Fqemu.git qemu: improve hugepage allocation failure message Improve hugepage allocation failure message, indicating what is happening to the user. Signed-off-by: Marcelo Tosatti Message-Id: <20180115201700.GA4439@amt.cnet> Signed-off-by: Paolo Bonzini --- diff --git a/numa.c b/numa.c index 83675a03f3c..a9528aaa7d1 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.