diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-24 21:58:34 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-03-24 21:58:34 +0000 |
commit | d691f66983c0b36689400e9e9137d72bd3be8e72 (patch) | |
tree | bf7422162d5f435af122b0a531a7eb03c6f60424 /qemu-doc.texi | |
parent | 386405f78661e0a4f82087196c7b084b8c612b48 (diff) | |
download | qemu-d691f66983c0b36689400e9e9137d72bd3be8e72.zip qemu-d691f66983c0b36689400e9e9137d72bd3be8e72.tar.gz qemu-d691f66983c0b36689400e9e9137d72bd3be8e72.tar.bz2 |
glibc2.2 fixes - more command line options - misc doc fixesv0.1.1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@46 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-doc.texi')
-rw-r--r-- | qemu-doc.texi | 47 |
1 files changed, 37 insertions, 10 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi index a7b0ce9..fb9ed0a 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -73,26 +73,53 @@ maximum performances. @chapter Invocation +@section Quick Start + In order to launch a Linux process, QEMU needs the process executable -itself and all the target (x86) dynamic libraries used by it. Currently, -QEMU is not distributed with the necessary packages so that you can test -it easily on non x86 CPUs. +itself and all the target (x86) dynamic libraries used by it. + +@itemize -However, the statically x86 binary 'tests/hello' can be used to do a -first test: +@item On x86, you can just try to launch any process by using the native +libraries: @example -qemu tests/hello +qemu -L / /bin/ls @end example -@code{Hello world} should be printed on the terminal. +@code{-L /} tells that the x86 dynamic linker must be searched with a +@file{/} prefix. -If you are testing it on a x86 CPU, then you can test it on any process: -@example -qemu /bin/ls -l +@item On non x86 CPUs, you need first to download at least an x86 glibc +(@file{qemu-i386-glibc21.tar.gz} on the QEMU web page). Then you can +launch the precompiled @file{ls} x86 executable: +@example +qemu /usr/local/qemu-i386/bin/ls +@end example +You can look at @file{/usr/local/qemu-i386/bin/qemu-conf.sh} so that QEMU is automatically +launched by the Linux kernel when you try to launch x86 executables. It +requires the @code{binfmt_misc} module in the Linux kernel. + +@end itemize + +@section Command line options + +@example +usage: qemu [-h] [-d] [-L path] [-s size] program [arguments...] @end example +@table @samp +@item -h +Print the help +@item -d +Activate log (logfile=/tmp/qemu.log) +@item -L path +Set the x86 elf interpreter prefix (default=/usr/local/qemu-i386) +@item -s size +Set the x86 stack size in bytes (default=524288) +@end table + @chapter QEMU Internals @section QEMU compared to other emulators |