Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linux-user: elfload: Specify -R is an option for qemu-user binaries
Given several different concepts are suggested for investigation, let's
not confuse e.g. ulimit's -R with what was actually intended.

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>
  • Loading branch information
amboar authored and Michael Tokarev committed Jun 10, 2023
1 parent f101c25 commit e928907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linux-user/elfload.c
Expand Up @@ -2799,7 +2799,8 @@ static void pgb_reserved_va(const char *image_name, abi_ulong guest_loaddr,
error_report("Unable to reserve 0x%lx bytes of virtual address "
"space at %p (%s) for use as guest address space (check your "
"virtual memory ulimit setting, mmap_min_addr or reserve less "
"using -R option)", reserved_va + 1, test, strerror(errno));
"using qemu-user's -R option)",
reserved_va + 1, test, strerror(errno));
exit(EXIT_FAILURE);
}

Expand Down

0 comments on commit e928907

Please sign in to comment.