[PATCH 2/2] linux-user: elfload: Specify -R is an option for qemu-user binaries

Andrew Jeffery posted 2 patches 2 years, 10 months ago
Maintainers: Laurent Vivier <laurent@vivier.eu>
[PATCH 2/2] linux-user: elfload: Specify -R is an option for qemu-user binaries
Posted by Andrew Jeffery 2 years, 10 months ago
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>
---
 linux-user/elfload.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index 601b156b476b..694794f97202 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -2772,7 +2772,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, test, strerror(errno));
+                     "using qemu-user's -R option)",
+                     reserved_va, test, strerror(errno));
         exit(EXIT_FAILURE);
     }
 
-- 
2.39.2