[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] document -r option
From: |
Nathan Sidwell |
Subject: |
[Qemu-devel] document -r option |
Date: |
Thu, 29 Jan 2009 16:53:09 +0000 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
This patch adds help and documentation for the '-r <version>' option available
to user-mode linux.
Please apply, if ok.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
Index: linux-user/main.c
===================================================================
--- linux-user/main.c (revision 6469)
+++ linux-user/main.c (working copy)
@@ -2183,6 +2183,7 @@ static void usage(void)
"-h print this help\n"
"-g port wait gdb connection to port\n"
"-L path set the elf interpreter prefix (default=%s)\n"
+ "-r version set the kernel version reported to application\n"
"-s size set the stack size in bytes (default=%ld)\n"
"-cpu model select CPU (-cpu ? for list)\n"
"-drop-ld-preload drop LD_PRELOAD for target process\n"
Index: qemu-doc.texi
===================================================================
--- qemu-doc.texi (revision 6469)
+++ qemu-doc.texi (working copy)
@@ -3158,7 +3158,7 @@ qemu-i386 /usr/local/qemu-i386/wine/bin/
@subsection Command line options
@example
-usage: qemu-i386 [-h] [-d] [-L path] [-s size] [-cpu model] [-g port] program
[arguments...]
+usage: qemu-i386 [-h] [-d] [-L path] [-r version] [-s size] [-cpu model] [-g
port] program [arguments...]
@end example
@table @option
@@ -3166,6 +3166,11 @@ usage: qemu-i386 [-h] [-d] [-L path] [-s
Print the help
@item -L path
Set the x86 elf interpreter prefix (default=/usr/local/qemu-i386)
address@hidden -r version
+Set the kernel version reported by the uname syscall. An application
+(in particular the C library) may require a minimum kernel version,
+and terminate with a 'FATAL: kernel too old' message if the host
+kernel is not sufficiently modern.
@item -s size
Set the x86 stack size in bytes (default=524288)
@item -cpu model
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] document -r option,
Nathan Sidwell <=