131 |
|
|
132 |
The SPARC emulation is currently in development. |
The SPARC emulation is currently in development. |
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 |
|
|
147 |
@chapter QEMU User space emulator invocation |
@chapter QEMU User space emulator invocation |
148 |
|
|
149 |
@section Quick Start |
@section Quick Start |
150 |
|
|
|
If you need to compile QEMU, please read the @file{README} which gives |
|
|
the related information. |
|
|
|
|
151 |
In order to launch a Linux process, QEMU needs the process executable |
In order to launch a Linux process, QEMU needs the process executable |
152 |
itself and all the target (x86) dynamic libraries used by it. |
itself and all the target (x86) dynamic libraries used by it. |
153 |
|
|
163 |
@code{-L /} tells that the x86 dynamic linker must be searched with a |
@code{-L /} tells that the x86 dynamic linker must be searched with a |
164 |
@file{/} prefix. |
@file{/} prefix. |
165 |
|
|
166 |
@item Since QEMU is also a linux process, you can launch qemu with qemu: |
@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): |
167 |
|
|
168 |
@example |
@example |
169 |
qemu-i386 -L / qemu-i386 -L / /bin/ls |
qemu-i386 -L / qemu-i386 -L / /bin/ls |
170 |
@end example |
@end example |
171 |
|
|
172 |
@item On non x86 CPUs, you need first to download at least an x86 glibc |
@item On non x86 CPUs, you need first to download at least an x86 glibc |
173 |
(@file{qemu-XXX-i386-glibc21.tar.gz} on the QEMU web page). Ensure that |
(@file{qemu-runtime-i386-XXX-.tar.gz} on the QEMU web page). Ensure that |
174 |
@code{LD_LIBRARY_PATH} is not set: |
@code{LD_LIBRARY_PATH} is not set: |
175 |
|
|
176 |
@example |
@example |