Hi,
I think that a small note about qemu-darwin-user in the doc should be
quite useful...
Pierre.
Index: qemu-doc.texi
===================================================================
RCS file: /sources/qemu/qemu/qemu-doc.texi,v
retrieving revision 1.126
diff -u -r1.126 qemu-doc.texi
--- qemu-doc.texi 2 Feb 2007 00:37:56 -0000 1.126
+++ qemu-doc.texi 3 Feb 2007 17:11:57 -0000
@@ -25,7 +25,7 @@
* Installation::
* QEMU PC System emulator::
* QEMU System emulator for non PC targets::
-* QEMU Linux User space emulator::
+* QEMU User space emulator::
* compilation:: Compilation from the sources
* Index::
@end menu
@@ -57,8 +57,8 @@
without rebooting the PC or to debug system code.
@item
-User mode emulation (Linux host only). In this mode, QEMU can launch
-Linux processes compiled for one CPU on another CPU. It can be used to
+User mode emulation. In this mode, QEMU can launch
+processes compiled for one CPU on another CPU. It can be used to
launch the Wine Windows API emulator (@url{http://www.winehq.org}) or
to ease cross-compilation and cross-debugging.
@@ -1704,8 +1704,29 @@
A Linux 2.6 test image is available on the QEMU web site. More
information is available in the QEMU mailing-list archive.
[EMAIL PROTECTED] QEMU Linux User space emulator
[EMAIL PROTECTED] QEMU Linux User space emulator
[EMAIL PROTECTED] QEMU User space emulator
[EMAIL PROTECTED] QEMU User space emulator
+
[EMAIL PROTECTED]
+* Supported Operating Systems ::
+* Linux User space emulator::
+* Mac OS X/Darwin User space emulator ::
[EMAIL PROTECTED] menu
+
[EMAIL PROTECTED] Supported Operating Systems
[EMAIL PROTECTED] Supported Operating Systems
+
+The following OS are supported in user space emulation:
+
[EMAIL PROTECTED] @minus
[EMAIL PROTECTED]
+Linux (refered as qemu-linux-user)
[EMAIL PROTECTED]
+Mac OS X/Darwin (refered as qemu-darwin-user)
[EMAIL PROTECTED] itemize
+
[EMAIL PROTECTED] Linux User space emulator
[EMAIL PROTECTED] Linux User space emulator
@menu
* Quick Start::
@@ -1715,7 +1736,7 @@
@end menu
@node Quick Start
[EMAIL PROTECTED] Quick Start
[EMAIL PROTECTED] 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.
@@ -1726,7 +1747,7 @@
libraries:
@example
-qemu-i386 -L / /bin/ls
+qemu-linux-i386 -L / /bin/ls
@end example
@code{-L /} tells that the x86 dynamic linker must be searched with a
@@ -1765,7 +1786,7 @@
@end itemize
@node Wine launch
[EMAIL PROTECTED] Wine launch
[EMAIL PROTECTED] Wine launch
@itemize
@@ -1794,7 +1815,7 @@
@end itemize
@node Command line options
[EMAIL PROTECTED] Command line options
[EMAIL PROTECTED] Command line options
@example
usage: qemu-i386 [-h] [-d] [-L path] [-s size] program [arguments...]
@@ -1819,7 +1840,7 @@
@end table
@node Other binaries
[EMAIL PROTECTED] Other binaries
[EMAIL PROTECTED] Other binaries
@command{qemu-arm} is also capable of running ARM "Angel" semihosted ELF
binaries (as implemented by the arm-elf and arm-eabi Newlib/GDB
@@ -1831,6 +1852,91 @@
The binary format is detected automatically.
[EMAIL PROTECTED] Mac OS X/Darwin User space emulator
[EMAIL PROTECTED] Mac OS X/Darwin User space emulator
+
[EMAIL PROTECTED]
+* Mac OS X/Darwin Status::
+* Mac OS X/Darwin Quick Start::
+* Mac OS X/Darwin Command line options::
[EMAIL PROTECTED] menu
+
[EMAIL PROTECTED] Mac OS X/Darwin Status
[EMAIL PROTECTED] Mac OS X/Darwin Status
+
[EMAIL PROTECTED] @minus
[EMAIL PROTECTED]
+target x86 on x86: Most apps (Cocoa and Carbon too) works. [1]
[EMAIL PROTECTED]
+target PowerPC on x86: Not working as the ppc commpage can't be mapped (yet!)
[EMAIL PROTECTED]
+target x86 on x86: Most apps (Cocoa and Carbon too) works. [1]
[EMAIL PROTECTED]
+target x86 on PowerPC: most utilities work. Cocoa and Carbon apps are not yet
supported.
[EMAIL PROTECTED] itemize
+
+[1] If you're host commpage can be executed by qemu.
+
[EMAIL PROTECTED] Mac OS X/Darwin Quick Start
[EMAIL PROTECTED] Quick Start
+
+In order to launch a Mac OS X/Darwin process, QEMU needs the process executable
+itself and all the target dynamic libraries used by it. If you don't have the
FAT
+libraries (you're running Mac OS X/ppc) you'll need to obtain it from a Mac OS
X
+CD or compile them by hand.
+
[EMAIL PROTECTED]
+
[EMAIL PROTECTED] On x86, you can just try to launch any process by using the
native
+libraries:
+
[EMAIL PROTECTED]
+qemu-darwin-i386 /bin/ls
[EMAIL PROTECTED] example
+
+or to run the ppc version of the executable:
+
[EMAIL PROTECTED]
+qemu-darwin-ppc /bin/ls
[EMAIL PROTECTED] example
+
[EMAIL PROTECTED] On ppc, you'll have to tell qemu where your x86 libraries
(and dynamic linker)
+are installed:
+
[EMAIL PROTECTED]
+qemu-darwin-i386 -L /opt/x86_root/ /bin/ls
[EMAIL PROTECTED] example
+
[EMAIL PROTECTED] /opt/x86_root/} tells that the dynamic linker (dyld) path is
in
[EMAIL PROTECTED]/opt/x86_root/usr/bin/dyld}.
+
[EMAIL PROTECTED] itemize
+
[EMAIL PROTECTED] Mac OS X/Darwin Command line options
[EMAIL PROTECTED] Command line options
+
[EMAIL PROTECTED]
+usage: qemu-darwin-i386 [-h] [-d] [-L path] [-s size] program [arguments...]
[EMAIL PROTECTED] example
+
[EMAIL PROTECTED] @option
[EMAIL PROTECTED] -h
+Print the help
[EMAIL PROTECTED] -L path
+Set the library root path (default=/)
[EMAIL PROTECTED] -s size
+Set the stack size in bytes (default=524288)
[EMAIL PROTECTED] table
+
+Debug options:
+
[EMAIL PROTECTED] @option
[EMAIL PROTECTED] -d
+Activate log (logfile=/tmp/qemu.log)
[EMAIL PROTECTED] -p pagesize
+Act as if the host page size was 'pagesize' bytes
[EMAIL PROTECTED] table
+
@node compilation
@chapter Compilation from the sources
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel