qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] document -r option
@ 2009-01-29 16:53 Nathan Sidwell
  0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2009-01-29 16:53 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 211 bytes --]

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


[-- Attachment #2: doc.patch --]
[-- Type: text/x-patch, Size: 1689 bytes --]

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)
+@item -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-29 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 16:53 [Qemu-devel] document -r option Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).