qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Sidwell <nathan@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] document -r option
Date: Thu, 29 Jan 2009 16:53:09 +0000	[thread overview]
Message-ID: <4981DEF5.8040801@codesourcery.com> (raw)

[-- 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

                 reply	other threads:[~2009-01-29 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4981DEF5.8040801@codesourcery.com \
    --to=nathan@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).