aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2023-03-27 22:25:24 +1030
committerMichael Tokarev <mjt@tls.msk.ru>2023-06-10 09:40:46 +0300
commite928907105cfeb48b68cedce232bbd4784536707 (patch)
tree2d94485292899f4dee30778e5864359c099ebbfe /linux-user/elfload.c
parentf101c25cd66dc4dea1135d2f1783a0786534923a (diff)
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>
Diffstat (limited to 'linux-user/elfload.c')
-rw-r--r--linux-user/elfload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 76874833e3..9a2ec568b0 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -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);
}