From 84778508d7403cd32fb4527550738f19aa7b1aa5 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 26 Oct 2008 20:33:16 +0000 Subject: Preliminary BSD user emulator support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5544 c046a42c-6fe2-441c-8c8c-71466251a162 --- qemu-doc.texi | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) (limited to 'qemu-doc.texi') diff --git a/qemu-doc.texi b/qemu-doc.texi index 84021fb81..a1f9a145b 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -2759,6 +2759,7 @@ Two on-chip UARTs. * Supported Operating Systems :: * Linux User space emulator:: * Mac OS X/Darwin User space emulator :: +* BSD User space emulator :: @end menu @node Supported Operating Systems @@ -2771,6 +2772,8 @@ The following OS are supported in user space emulation: Linux (referred as qemu-linux-user) @item Mac OS X/Darwin (referred as qemu-darwin-user) +@item +BSD (referred as qemu-bsd-user) @end itemize @node Linux User space emulator @@ -3010,6 +3013,68 @@ Activate log (logfile=/tmp/qemu.log) Act as if the host page size was 'pagesize' bytes @end table +@node BSD User space emulator +@section BSD User space emulator + +@menu +* BSD Status:: +* BSD Quick Start:: +* BSD Command line options:: +@end menu + +@node BSD Status +@subsection BSD Status + +@itemize @minus +@item +target Sparc64 on Sparc64: Some trivial programs work. +@end itemize + +@node BSD Quick Start +@subsection Quick Start + +In order to launch a BSD process, QEMU needs the process executable +itself and all the target dynamic libraries used by it. + +@itemize + +@item On Sparc64, you can just try to launch any process by using the native +libraries: + +@example +qemu-sparc64 /bin/ls +@end example + +@end itemize + +@node BSD Command line options +@subsection Command line options + +@example +usage: qemu-sparc64 [-h] [-d] [-L path] [-s size] [-bsd type] program [arguments...] +@end example + +@table @option +@item -h +Print the help +@item -L path +Set the library root path (default=/) +@item -s size +Set the stack size in bytes (default=524288) +@item -bsd type +Set the type of the emulated BSD Operating system. Valid values are +FreeBSD, NetBSD and OpenBSD (default). +@end table + +Debug options: + +@table @option +@item -d +Activate log (logfile=/tmp/qemu.log) +@item -p pagesize +Act as if the host page size was 'pagesize' bytes +@end table + @node compilation @chapter Compilation from the sources -- cgit v1.2.3-65-gdbad