aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-30 23:16:33 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-30 23:16:33 +0000
commitec410fc9ce03e775284602e304d60c78fa63619b (patch)
tree968e9b606dd8580b9eefa8987a4edc3a7f37a129
parent68a7931591fca65ac5dc2e1b23688e08d1c328a6 (diff)
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@297 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--qemu-doc.texi61
1 files changed, 59 insertions, 2 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 0c062f5faa..466363d785 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -353,6 +353,61 @@ Lawton for the plex86 Project (@url{www.plex86.org}).
@end enumerate
+@section Invocation
+
+@example
+usage: vl [options] bzImage [kernel parameters...]
+@end example
+
+@file{bzImage} is a Linux kernel image.
+
+General options:
+@table @option
+@item -initrd file
+Use 'file' as initial ram disk.
+
+@item -hda file
+@item -hdb file
+Use 'file' as hard disk 0 or 1 image. The disk images are simply raw
+images of the hard disk. You can create them with the command:
+@example
+dd if=/dev/zero of=myimage bs=1024 count=mysize
+@end example
+where @var{myimage} is the image filename and @var{mysize} is its size
+in kilobytes.
+
+@item -m megs
+Set virtual RAM size to @var{megs} megabytes.
+
+@item -n script
+Set network init script [default=/etc/vl-ifup]. This script is
+launched to configure the host network interface (usually tun0)
+corresponding to the virtual NE2000 card.
+@end table
+
+Debug options:
+@table @option
+@item -s
+Wait gdb connection to port 1234.
+@item -p port
+Change gdb connection port.
+@item -d
+Output log in /tmp/vl.log
+@end table
+
+During emulation, use @key{C-a h} to get terminal commands:
+
+@table @key
+@item C-a h
+Print this help
+@item C-a x
+Exit emulatior
+@item C-a b
+Send break (magic sysrq)
+@item C-a C-a
+Send C-a
+@end table
+
@section Kernel Compilation
You can use any Linux kernel within QEMU provided it is mapped at
@@ -417,11 +472,13 @@ PIT (timers)
@item
CMOS memory
@item
+Dumb VGA (to print the @code{Uncompressing Linux} message)
+@item
Serial port (port=0x3f8, irq=4)
@item
NE2000 network adapter (port=0x300, irq=9)
-@item
-Dumb VGA (to print the @code{Uncompressing Linux} message)
+@item
+IDE disk interface (port=0x1f0, irq=14)
@end itemize
@section GDB usage