Commit ec410fc9ce03e775284602e304d60c78fa63619b
1 parent
68a79315
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@297 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
59 additions
and
2 deletions
qemu-doc.texi
... | ... | @@ -353,6 +353,61 @@ Lawton for the plex86 Project (@url{www.plex86.org}). |
353 | 353 | |
354 | 354 | @end enumerate |
355 | 355 | |
356 | +@section Invocation | |
357 | + | |
358 | +@example | |
359 | +usage: vl [options] bzImage [kernel parameters...] | |
360 | +@end example | |
361 | + | |
362 | +@file{bzImage} is a Linux kernel image. | |
363 | + | |
364 | +General options: | |
365 | +@table @option | |
366 | +@item -initrd file | |
367 | +Use 'file' as initial ram disk. | |
368 | + | |
369 | +@item -hda file | |
370 | +@item -hdb file | |
371 | +Use 'file' as hard disk 0 or 1 image. The disk images are simply raw | |
372 | +images of the hard disk. You can create them with the command: | |
373 | +@example | |
374 | +dd if=/dev/zero of=myimage bs=1024 count=mysize | |
375 | +@end example | |
376 | +where @var{myimage} is the image filename and @var{mysize} is its size | |
377 | +in kilobytes. | |
378 | + | |
379 | +@item -m megs | |
380 | +Set virtual RAM size to @var{megs} megabytes. | |
381 | + | |
382 | +@item -n script | |
383 | +Set network init script [default=/etc/vl-ifup]. This script is | |
384 | +launched to configure the host network interface (usually tun0) | |
385 | +corresponding to the virtual NE2000 card. | |
386 | +@end table | |
387 | + | |
388 | +Debug options: | |
389 | +@table @option | |
390 | +@item -s | |
391 | +Wait gdb connection to port 1234. | |
392 | +@item -p port | |
393 | +Change gdb connection port. | |
394 | +@item -d | |
395 | +Output log in /tmp/vl.log | |
396 | +@end table | |
397 | + | |
398 | +During emulation, use @key{C-a h} to get terminal commands: | |
399 | + | |
400 | +@table @key | |
401 | +@item C-a h | |
402 | +Print this help | |
403 | +@item C-a x | |
404 | +Exit emulatior | |
405 | +@item C-a b | |
406 | +Send break (magic sysrq) | |
407 | +@item C-a C-a | |
408 | +Send C-a | |
409 | +@end table | |
410 | + | |
356 | 411 | @section Kernel Compilation |
357 | 412 | |
358 | 413 | You can use any Linux kernel within QEMU provided it is mapped at |
... | ... | @@ -417,11 +472,13 @@ PIT (timers) |
417 | 472 | @item |
418 | 473 | CMOS memory |
419 | 474 | @item |
475 | +Dumb VGA (to print the @code{Uncompressing Linux} message) | |
476 | +@item | |
420 | 477 | Serial port (port=0x3f8, irq=4) |
421 | 478 | @item |
422 | 479 | NE2000 network adapter (port=0x300, irq=9) |
423 | -@item | |
424 | -Dumb VGA (to print the @code{Uncompressing Linux} message) | |
480 | +@item | |
481 | +IDE disk interface (port=0x1f0, irq=14) | |
425 | 482 | @end itemize |
426 | 483 | |
427 | 484 | @section GDB usage | ... | ... |