mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 15:12:07 -06:00
linux-user: elfload: s/min_mmap_addr/mmap_min_addr/
As-is the error message can cause some confusion as the mentioned sysctl attribute name is wrong: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.html#mmap-min-addr Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
bdfca8a22f
commit
f101c25cd6
1 changed files with 1 additions and 1 deletions
|
@ -2798,7 +2798,7 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
|
||||||
if (addr == MAP_FAILED || addr != test) {
|
if (addr == MAP_FAILED || addr != test) {
|
||||||
error_report("Unable to reserve 0x%lx bytes of virtual address "
|
error_report("Unable to reserve 0x%lx bytes of virtual address "
|
||||||
"space at %p (%s) for use as guest address space (check your "
|
"space at %p (%s) for use as guest address space (check your "
|
||||||
"virtual memory ulimit setting, min_mmap_addr or reserve less "
|
"virtual memory ulimit setting, mmap_min_addr or reserve less "
|
||||||
"using -R option)", reserved_va + 1, test, strerror(errno));
|
"using -R option)", reserved_va + 1, test, strerror(errno));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue