Commit 5b9f457a8968f7ee0a4e8fd3dce66c2602da96f0

Authored by bellard
1 parent 3a4739d6

update


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@424 c046a42c-6fe2-441c-8c8c-71466251a162
qemu-binfmt-conf.sh 0 → 100644
  1 +# enable automatic i386 program execution by the kernel (must enable binfmt_misc)
  2 +echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/local/bin/qemu-i386:' > /proc/sys/fs/binfmt_misc/register
  3 +echo ':i486:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/local/bin/qemu-i386:' > /proc/sys/fs/binfmt_misc/register
qemu-doc.texi
@@ -131,13 +131,23 @@ generic dynamic code generation architecture of QEMU. @@ -131,13 +131,23 @@ generic dynamic code generation architecture of QEMU.
131 131
132 The SPARC emulation is currently in development. 132 The SPARC emulation is currently in development.
133 133
  134 +@chapter Installation
  135 +
  136 +If you want to compile QEMU, please read the @file{README} which gives
  137 +the related information. Otherwise just download the binary
  138 +distribution (@file{qemu-XXX-i386.tar.gz}) and untar it as root in
  139 +@file{/}:
  140 +
  141 +@example
  142 +su
  143 +cd /
  144 +tar zxvf /tmp/qemu-XXX-i386.tar.gz
  145 +@end example
  146 +
134 @chapter QEMU User space emulator invocation 147 @chapter QEMU User space emulator invocation
135 148
136 @section Quick Start 149 @section Quick Start
137 150
138 -If you need to compile QEMU, please read the @file{README} which gives  
139 -the related information.  
140 -  
141 In order to launch a Linux process, QEMU needs the process executable 151 In order to launch a Linux process, QEMU needs the process executable
142 itself and all the target (x86) dynamic libraries used by it. 152 itself and all the target (x86) dynamic libraries used by it.
143 153
@@ -153,14 +163,14 @@ qemu-i386 -L / /bin/ls @@ -153,14 +163,14 @@ qemu-i386 -L / /bin/ls
153 @code{-L /} tells that the x86 dynamic linker must be searched with a 163 @code{-L /} tells that the x86 dynamic linker must be searched with a
154 @file{/} prefix. 164 @file{/} prefix.
155 165
156 -@item Since QEMU is also a linux process, you can launch qemu with qemu: 166 +@item Since QEMU is also a linux process, you can launch qemu with qemu (NOTE: you can only do that if you compiled QEMU from the sources):
157 167
158 @example 168 @example
159 qemu-i386 -L / qemu-i386 -L / /bin/ls 169 qemu-i386 -L / qemu-i386 -L / /bin/ls
160 @end example 170 @end example
161 171
162 @item On non x86 CPUs, you need first to download at least an x86 glibc 172 @item On non x86 CPUs, you need first to download at least an x86 glibc
163 -(@file{qemu-XXX-i386-glibc21.tar.gz} on the QEMU web page). Ensure that 173 +(@file{qemu-runtime-i386-XXX-.tar.gz} on the QEMU web page). Ensure that
164 @code{LD_LIBRARY_PATH} is not set: 174 @code{LD_LIBRARY_PATH} is not set:
165 175
166 @example 176 @example