mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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>
This commit is contained in:
parent
fe29141bee
commit
e85687ffe2
1 changed files with 1 additions and 0 deletions
1
numa.c
1
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue