提交 e85687ff 编写于 作者: M Marcelo Tosatti 提交者: Paolo Bonzini

qemu: improve hugepage allocation failure message

Improve hugepage allocation failure message, indicating
what is happening to the user.
Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>

Message-Id: <20180115201700.GA4439@amt.cnet>
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 fe29141b
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册