projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe29141
)
qemu: improve hugepage allocation failure message
author
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 15 Jan 2018 20:17:01 +0000
(18:17 -0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 5 Feb 2018 12:54:38 +0000
(13:54 +0100)
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>
numa.c
patch
|
blob
|
history
diff --git
a/numa.c
b/numa.c
index 83675a03f3cb65cc945d3bed92951464ae7256d0..a9528aaa7d1a783f218843428d9cc9f6ea40811e 100644
(file)
--- 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.