Commit 89dfe8980524218f99a8513f6e18dd8478e72d36
1 parent
cd8a2533
Documentation formatting improvements, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3717 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
102 additions
and
98 deletions
qemu-doc.texi
| ... | ... | @@ -199,7 +199,7 @@ Linux should boot and give you a prompt. |
| 199 | 199 | |
| 200 | 200 | @example |
| 201 | 201 | @c man begin SYNOPSIS |
| 202 | -usage: qemu [options] [disk_image] | |
| 202 | +usage: qemu [options] [@var{disk_image}] | |
| 203 | 203 | @c man end |
| 204 | 204 | @end example |
| 205 | 205 | |
| ... | ... | @@ -208,22 +208,22 @@ usage: qemu [options] [disk_image] |
| 208 | 208 | |
| 209 | 209 | General options: |
| 210 | 210 | @table @option |
| 211 | -@item -M machine | |
| 212 | -Select the emulated machine (@code{-M ?} for list) | |
| 211 | +@item -M @var{machine} | |
| 212 | +Select the emulated @var{machine} (@code{-M ?} for list) | |
| 213 | 213 | |
| 214 | -@item -fda file | |
| 215 | -@item -fdb file | |
| 214 | +@item -fda @var{file} | |
| 215 | +@item -fdb @var{file} | |
| 216 | 216 | Use @var{file} as floppy disk 0/1 image (@pxref{disk_images}). You can |
| 217 | 217 | use the host floppy by using @file{/dev/fd0} as filename (@pxref{host_drives}). |
| 218 | 218 | |
| 219 | -@item -hda file | |
| 220 | -@item -hdb file | |
| 221 | -@item -hdc file | |
| 222 | -@item -hdd file | |
| 219 | +@item -hda @var{file} | |
| 220 | +@item -hdb @var{file} | |
| 221 | +@item -hdc @var{file} | |
| 222 | +@item -hdd @var{file} | |
| 223 | 223 | Use @var{file} as hard disk 0, 1, 2 or 3 image (@pxref{disk_images}). |
| 224 | 224 | |
| 225 | -@item -cdrom file | |
| 226 | -Use @var{file} as CD-ROM image (you cannot use @option{-hdc} and and | |
| 225 | +@item -cdrom @var{file} | |
| 226 | +Use @var{file} as CD-ROM image (you cannot use @option{-hdc} and | |
| 227 | 227 | @option{-cdrom} at the same time). You can use the host CD-ROM by |
| 228 | 228 | using @file{/dev/cdrom} as filename (@pxref{host_drives}). |
| 229 | 229 | |
| ... | ... | @@ -240,10 +240,10 @@ the write back by pressing @key{C-a s} (@pxref{disk_images}). |
| 240 | 240 | Disable boot signature checking for floppy disks in Bochs BIOS. It may |
| 241 | 241 | be needed to boot from old floppy disks. |
| 242 | 242 | |
| 243 | -@item -m megs | |
| 244 | -Set virtual RAM size to @var{megs} megabytes. Default is 128 MB. | |
| 243 | +@item -m @var{megs} | |
| 244 | +Set virtual RAM size to @var{megs} megabytes. Default is 128 MiB. | |
| 245 | 245 | |
| 246 | -@item -smp n | |
| 246 | +@item -smp @var{n} | |
| 247 | 247 | Simulate an SMP system with @var{n} CPUs. On the PC target, up to 255 |
| 248 | 248 | CPUs are supported. On Sparc32 target, Linux limits the number of usable CPUs |
| 249 | 249 | to 4. |
| ... | ... | @@ -253,7 +253,7 @@ to 4. |
| 253 | 253 | Will show the audio subsystem help: list of drivers, tunable |
| 254 | 254 | parameters. |
| 255 | 255 | |
| 256 | -@item -soundhw card1,card2,... or -soundhw all | |
| 256 | +@item -soundhw @var{card1}[,@var{card2},...] or -soundhw all | |
| 257 | 257 | |
| 258 | 258 | Enable audio and selected sound hardware. Use ? to print all |
| 259 | 259 | available sound hardware. |
| ... | ... | @@ -270,12 +270,12 @@ Set the real time clock to local time (the default is to UTC |
| 270 | 270 | time). This option is needed to have correct date in MS-DOS or |
| 271 | 271 | Windows. |
| 272 | 272 | |
| 273 | -@item -startdate date | |
| 273 | +@item -startdate @var{date} | |
| 274 | 274 | Set the initial date of the real time clock. Valid format for |
| 275 | 275 | @var{date} are: @code{now} or @code{2006-06-17T16:01:21} or |
| 276 | 276 | @code{2006-06-17}. The default value is @code{now}. |
| 277 | 277 | |
| 278 | -@item -pidfile file | |
| 278 | +@item -pidfile @var{file} | |
| 279 | 279 | Store the QEMU process PID in @var{file}. It is useful if you launch QEMU |
| 280 | 280 | from a script. |
| 281 | 281 | |
| ... | ... | @@ -290,13 +290,14 @@ Use it when installing Windows 2000 to avoid a disk full bug. After |
| 290 | 290 | Windows 2000 is installed, you no longer need this option (this option |
| 291 | 291 | slows down the IDE transfers). |
| 292 | 292 | |
| 293 | -@item -option-rom file | |
| 294 | -Load the contents of file as an option ROM. This option is useful to load | |
| 295 | -things like EtherBoot. | |
| 293 | +@item -option-rom @var{file} | |
| 294 | +Load the contents of @var{file} as an option ROM. | |
| 295 | +This option is useful to load things like EtherBoot. | |
| 296 | 296 | |
| 297 | -@item -name string | |
| 298 | -Sets the name of the guest. This name will be display in the SDL window | |
| 299 | -caption. The name will also be used for the VNC server. | |
| 297 | +@item -name @var{name} | |
| 298 | +Sets the @var{name} of the guest. | |
| 299 | +This name will be display in the SDL window caption. | |
| 300 | +The @var{name} will also be used for the VNC server. | |
| 300 | 301 | |
| 301 | 302 | @end table |
| 302 | 303 | |
| ... | ... | @@ -320,7 +321,7 @@ workspace more convenient. |
| 320 | 321 | @item -full-screen |
| 321 | 322 | Start in full screen. |
| 322 | 323 | |
| 323 | -@item -vnc display[,option[,option[,...]]] | |
| 324 | +@item -vnc @var{display}[,@var{option}[,@var{option}[,...]]] | |
| 324 | 325 | |
| 325 | 326 | Normally, QEMU uses SDL to display the VGA output. With this option, |
| 326 | 327 | you can have QEMU listen on VNC display @var{display} and redirect the VGA |
| ... | ... | @@ -332,18 +333,18 @@ syntax for the @var{display} is |
| 332 | 333 | |
| 333 | 334 | @table @code |
| 334 | 335 | |
| 335 | -@item @var{interface:d} | |
| 336 | +@item @var{interface}:@var{d} | |
| 336 | 337 | |
| 337 | 338 | TCP connections will only be allowed from @var{interface} on display @var{d}. |
| 338 | 339 | By convention the TCP port is 5900+@var{d}. Optionally, @var{interface} can |
| 339 | 340 | be omitted in which case the server will bind to all interfaces. |
| 340 | 341 | |
| 341 | -@item @var{unix:path} | |
| 342 | +@item @var{unix}:@var{path} | |
| 342 | 343 | |
| 343 | 344 | Connections will be allowed over UNIX domain sockets where @var{path} is the |
| 344 | 345 | location of a unix socket to listen for connections on. |
| 345 | 346 | |
| 346 | -@item @var{none} | |
| 347 | +@item none | |
| 347 | 348 | |
| 348 | 349 | VNC is initialized by not started. The monitor @code{change} command can be used |
| 349 | 350 | to later start the VNC server. |
| ... | ... | @@ -355,31 +356,31 @@ separated by commas. Valid options are |
| 355 | 356 | |
| 356 | 357 | @table @code |
| 357 | 358 | |
| 358 | -@item @var{password} | |
| 359 | +@item password | |
| 359 | 360 | |
| 360 | 361 | Require that password based authentication is used for client connections. |
| 361 | 362 | The password must be set separately using the @code{change} command in the |
| 362 | 363 | @ref{pcsys_monitor} |
| 363 | 364 | |
| 364 | -@item @var{tls} | |
| 365 | +@item tls | |
| 365 | 366 | |
| 366 | 367 | Require that client use TLS when communicating with the VNC server. This |
| 367 | 368 | uses anonymous TLS credentials so is susceptible to a man-in-the-middle |
| 368 | 369 | attack. It is recommended that this option be combined with either the |
| 369 | 370 | @var{x509} or @var{x509verify} options. |
| 370 | 371 | |
| 371 | -@item @var{x509=/path/to/certificate/dir} | |
| 372 | +@item x509=@var{/path/to/certificate/dir} | |
| 372 | 373 | |
| 373 | -Valid if @var{tls} is specified. Require that x509 credentials are used | |
| 374 | +Valid if @option{tls} is specified. Require that x509 credentials are used | |
| 374 | 375 | for negotiating the TLS session. The server will send its x509 certificate |
| 375 | 376 | to the client. It is recommended that a password be set on the VNC server |
| 376 | 377 | to provide authentication of the client when this is used. The path following |
| 377 | 378 | this option specifies where the x509 certificates are to be loaded from. |
| 378 | 379 | See the @ref{vnc_security} section for details on generating certificates. |
| 379 | 380 | |
| 380 | -@item @var{x509verify=/path/to/certificate/dir} | |
| 381 | +@item x509verify=@var{/path/to/certificate/dir} | |
| 381 | 382 | |
| 382 | -Valid if @var{tls} is specified. Require that x509 credentials are used | |
| 383 | +Valid if @option{tls} is specified. Require that x509 credentials are used | |
| 383 | 384 | for negotiating the TLS session. The server will send its x509 certificate |
| 384 | 385 | to the client, and request that the client send its own x509 certificate. |
| 385 | 386 | The server will validate the client's certificate against the CA certificate, |
| ... | ... | @@ -392,7 +393,7 @@ certificates. |
| 392 | 393 | |
| 393 | 394 | @end table |
| 394 | 395 | |
| 395 | -@item -k language | |
| 396 | +@item -k @var{language} | |
| 396 | 397 | |
| 397 | 398 | Use keyboard layout @var{language} (for example @code{fr} for |
| 398 | 399 | French). This option is only needed where it is not easy to get raw PC |
| ... | ... | @@ -417,7 +418,7 @@ USB options: |
| 417 | 418 | @item -usb |
| 418 | 419 | Enable the USB driver (will be the default soon) |
| 419 | 420 | |
| 420 | -@item -usbdevice devname | |
| 421 | +@item -usbdevice @var{devname} | |
| 421 | 422 | Add the USB device @var{devname}. @xref{usb_devices}. |
| 422 | 423 | @end table |
| 423 | 424 | |
| ... | ... | @@ -425,7 +426,7 @@ Network options: |
| 425 | 426 | |
| 426 | 427 | @table @option |
| 427 | 428 | |
| 428 | -@item -net nic[,vlan=n][,macaddr=addr][,model=type] | |
| 429 | +@item -net nic[,vlan=@var{n}][,macaddr=@var{addr}][,model=@var{type}] | |
| 429 | 430 | Create a new Network Interface Card and connect it to VLAN @var{n} (@var{n} |
| 430 | 431 | = 0 is the default). The NIC is an ne2k_pci by default on the PC |
| 431 | 432 | target. Optionally, the MAC address can be changed. If no |
| ... | ... | @@ -438,17 +439,17 @@ Valid values for @var{type} are |
| 438 | 439 | Not all devices are supported on all targets. Use -net nic,model=? |
| 439 | 440 | for a list of available devices for your target. |
| 440 | 441 | |
| 441 | -@item -net user[,vlan=n][,hostname=name] | |
| 442 | +@item -net user[,vlan=@var{n}][,hostname=@var{name}] | |
| 442 | 443 | Use the user mode network stack which requires no administrator |
| 443 | 444 | privilege to run. @option{hostname=name} can be used to specify the client |
| 444 | 445 | hostname reported by the builtin DHCP server. |
| 445 | 446 | |
| 446 | -@item -net tap[,vlan=n][,fd=h][,ifname=name][,script=file] | |
| 447 | +@item -net tap[,vlan=@var{n}][,fd=@var{h}][,ifname=@var{name}][,script=@var{file}] | |
| 447 | 448 | Connect the host TAP network interface @var{name} to VLAN @var{n} and |
| 448 | 449 | use the network script @var{file} to configure it. The default |
| 449 | 450 | network script is @file{/etc/qemu-ifup}. Use @option{script=no} to |
| 450 | 451 | disable script execution. If @var{name} is not |
| 451 | -provided, the OS automatically provides one. @option{fd=h} can be | |
| 452 | +provided, the OS automatically provides one. @option{fd}=@var{h} can be | |
| 452 | 453 | used to specify the handle of an already opened host TAP interface. Example: |
| 453 | 454 | |
| 454 | 455 | @example |
| ... | ... | @@ -462,13 +463,13 @@ qemu linux.img -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 \ |
| 462 | 463 | @end example |
| 463 | 464 | |
| 464 | 465 | |
| 465 | -@item -net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port] | |
| 466 | +@item -net socket[,vlan=@var{n}][,fd=@var{h}][,listen=[@var{host}]:@var{port}][,connect=@var{host}:@var{port}] | |
| 466 | 467 | |
| 467 | 468 | Connect the VLAN @var{n} to a remote VLAN in another QEMU virtual |
| 468 | 469 | machine using a TCP socket connection. If @option{listen} is |
| 469 | 470 | specified, QEMU waits for incoming connections on @var{port} |
| 470 | 471 | (@var{host} is optional). @option{connect} is used to connect to |
| 471 | -another QEMU instance using the @option{listen} option. @option{fd=h} | |
| 472 | +another QEMU instance using the @option{listen} option. @option{fd}=@var{h} | |
| 472 | 473 | specifies an already opened TCP socket. |
| 473 | 474 | |
| 474 | 475 | Example: |
| ... | ... | @@ -482,7 +483,7 @@ qemu linux.img -net nic,macaddr=52:54:00:12:34:57 \ |
| 482 | 483 | -net socket,connect=127.0.0.1:1234 |
| 483 | 484 | @end example |
| 484 | 485 | |
| 485 | -@item -net socket[,vlan=n][,fd=h][,mcast=maddr:port] | |
| 486 | +@item -net socket[,vlan=@var{n}][,fd=@var{h}][,mcast=@var{maddr}:@var{port}] | |
| 486 | 487 | |
| 487 | 488 | Create a VLAN @var{n} shared with another QEMU virtual |
| 488 | 489 | machines using a UDP multicast socket, effectively making a bus for |
| ... | ... | @@ -527,14 +528,14 @@ Indicate that no network devices should be configured. It is used to |
| 527 | 528 | override the default configuration (@option{-net nic -net user}) which |
| 528 | 529 | is activated if no @option{-net} options are provided. |
| 529 | 530 | |
| 530 | -@item -tftp dir | |
| 531 | +@item -tftp @var{dir} | |
| 531 | 532 | When using the user mode network stack, activate a built-in TFTP |
| 532 | 533 | server. The files in @var{dir} will be exposed as the root of a TFTP server. |
| 533 | 534 | The TFTP client on the guest must be configured in binary mode (use the command |
| 534 | 535 | @code{bin} of the Unix TFTP client). The host IP address on the guest is as |
| 535 | 536 | usual 10.0.2.2. |
| 536 | 537 | |
| 537 | -@item -bootp file | |
| 538 | +@item -bootp @var{file} | |
| 538 | 539 | When using the user mode network stack, broadcast @var{file} as the BOOTP |
| 539 | 540 | filename. In conjunction with @option{-tftp}, this can be used to network boot |
| 540 | 541 | a guest from a local directory. |
| ... | ... | @@ -544,9 +545,9 @@ Example (using pxelinux): |
| 544 | 545 | qemu -hda linux.img -boot n -tftp /path/to/tftp/files -bootp /pxelinux.0 |
| 545 | 546 | @end example |
| 546 | 547 | |
| 547 | -@item -smb dir | |
| 548 | +@item -smb @var{dir} | |
| 548 | 549 | When using the user mode network stack, activate a built-in SMB |
| 549 | -server so that Windows OSes can access to the host files in @file{dir} | |
| 550 | +server so that Windows OSes can access to the host files in @file{@var{dir}} | |
| 550 | 551 | transparently. |
| 551 | 552 | |
| 552 | 553 | In the guest Windows OS, the line: |
| ... | ... | @@ -556,13 +557,13 @@ In the guest Windows OS, the line: |
| 556 | 557 | must be added in the file @file{C:\WINDOWS\LMHOSTS} (for windows 9x/Me) |
| 557 | 558 | or @file{C:\WINNT\SYSTEM32\DRIVERS\ETC\LMHOSTS} (Windows NT/2000). |
| 558 | 559 | |
| 559 | -Then @file{dir} can be accessed in @file{\\smbserver\qemu}. | |
| 560 | +Then @file{@var{dir}} can be accessed in @file{\\smbserver\qemu}. | |
| 560 | 561 | |
| 561 | 562 | Note that a SAMBA server must be installed on the host OS in |
| 562 | 563 | @file{/usr/sbin/smbd}. QEMU was tested successfully with smbd version |
| 563 | 564 | 2.2.7a from the Red Hat 9 and version 3.0.10-1.fc3 from Fedora Core 3. |
| 564 | 565 | |
| 565 | -@item -redir [tcp|udp]:host-port:[guest-host]:guest-port | |
| 566 | +@item -redir [tcp|udp]:@var{host-port}:[@var{guest-host}]:@var{guest-port} | |
| 566 | 567 | |
| 567 | 568 | When using the user mode network stack, redirect incoming TCP or UDP |
| 568 | 569 | connections to the host port @var{host-port} to the guest |
| ... | ... | @@ -600,13 +601,13 @@ for easier testing of various kernels. |
| 600 | 601 | |
| 601 | 602 | @table @option |
| 602 | 603 | |
| 603 | -@item -kernel bzImage | |
| 604 | +@item -kernel @var{bzImage} | |
| 604 | 605 | Use @var{bzImage} as kernel image. |
| 605 | 606 | |
| 606 | -@item -append cmdline | |
| 607 | +@item -append @var{cmdline} | |
| 607 | 608 | Use @var{cmdline} as kernel command line |
| 608 | 609 | |
| 609 | -@item -initrd file | |
| 610 | +@item -initrd @var{file} | |
| 610 | 611 | Use @var{file} as initial ram disk. |
| 611 | 612 | |
| 612 | 613 | @end table |
| ... | ... | @@ -614,7 +615,7 @@ Use @var{file} as initial ram disk. |
| 614 | 615 | Debug/Expert options: |
| 615 | 616 | @table @option |
| 616 | 617 | |
| 617 | -@item -serial dev | |
| 618 | +@item -serial @var{dev} | |
| 618 | 619 | Redirect the virtual serial port to host character device |
| 619 | 620 | @var{dev}. The default device is @code{vc} in graphical mode and |
| 620 | 621 | @code{stdio} in non graphical mode. |
| ... | ... | @@ -644,19 +645,22 @@ void device |
| 644 | 645 | @item /dev/XXX |
| 645 | 646 | [Linux only] Use host tty, e.g. @file{/dev/ttyS0}. The host serial port |
| 646 | 647 | parameters are set according to the emulated ones. |
| 647 | -@item /dev/parportN | |
| 648 | +@item /dev/parport@var{N} | |
| 648 | 649 | [Linux only, parallel port only] Use host parallel port |
| 649 | 650 | @var{N}. Currently SPP and EPP parallel port features can be used. |
| 650 | -@item file:filename | |
| 651 | -Write output to filename. No character can be read. | |
| 651 | +@item file:@var{filename} | |
| 652 | +Write output to @var{filename}. No character can be read. | |
| 652 | 653 | @item stdio |
| 653 | 654 | [Unix only] standard input/output |
| 654 | -@item pipe:filename | |
| 655 | +@item pipe:@var{filename} | |
| 655 | 656 | name pipe @var{filename} |
| 656 | -@item COMn | |
| 657 | +@item COM@var{n} | |
| 657 | 658 | [Windows only] Use host serial port @var{n} |
| 658 | -@item udp:[remote_host]:remote_port[@@[src_ip]:src_port] | |
| 659 | -This implements UDP Net Console. When @var{remote_host} or @var{src_ip} are not specified they default to @code{0.0.0.0}. When not using a specified @var{src_port} a random port is automatically chosen. | |
| 659 | +@item udp:[@var{remote_host}]:@var{remote_port}[@@[@var{src_ip}]:@var{src_port}] | |
| 660 | +This implements UDP Net Console. | |
| 661 | +When @var{remote_host} or @var{src_ip} are not specified | |
| 662 | +they default to @code{0.0.0.0}. | |
| 663 | +When not using a specified @var{src_port} a random port is automatically chosen. | |
| 660 | 664 | |
| 661 | 665 | If you just want a simple readonly console you can use @code{netcat} or |
| 662 | 666 | @code{nc}, by starting qemu with: @code{-serial udp::4555} and nc as: |
| ... | ... | @@ -682,7 +686,7 @@ localhost 5555 |
| 682 | 686 | @end table |
| 683 | 687 | |
| 684 | 688 | |
| 685 | -@item tcp:[host]:port[,server][,nowait][,nodelay] | |
| 689 | +@item tcp:[@var{host}]:@var{port}[,@var{server}][,nowait][,nodelay] | |
| 686 | 690 | The TCP Net Console has two modes of operation. It can send the serial |
| 687 | 691 | I/O to a location or wait for a connection from a location. By default |
| 688 | 692 | the TCP Net Console is sent to @var{host} at the @var{port}. If you use |
| ... | ... | @@ -701,7 +705,7 @@ connect to the corresponding character device. |
| 701 | 705 | -serial tcp:192.168.0.100:4444,server,nowait |
| 702 | 706 | @end table |
| 703 | 707 | |
| 704 | -@item telnet:host:port[,server][,nowait][,nodelay] | |
| 708 | +@item telnet:@var{host}:@var{port}[,server][,nowait][,nodelay] | |
| 705 | 709 | The telnet protocol is used instead of raw tcp sockets. The options |
| 706 | 710 | work the same as if you had specified @code{-serial tcp}. The |
| 707 | 711 | difference is that the port acts like a telnet server or client using |
| ... | ... | @@ -710,12 +714,12 @@ MAGIC_SYSRQ sequence if you use a telnet that supports sending the break |
| 710 | 714 | sequence. Typically in unix telnet you do it with Control-] and then |
| 711 | 715 | type "send break" followed by pressing the enter key. |
| 712 | 716 | |
| 713 | -@item unix:path[,server][,nowait] | |
| 717 | +@item unix:@var{path}[,server][,nowait] | |
| 714 | 718 | A unix domain socket is used instead of a tcp socket. The option works the |
| 715 | 719 | same as if you had specified @code{-serial tcp} except the unix domain socket |
| 716 | 720 | @var{path} is used for connections. |
| 717 | 721 | |
| 718 | -@item mon:dev_string | |
| 722 | +@item mon:@var{dev_string} | |
| 719 | 723 | This is a special option to allow the monitor to be multiplexed onto |
| 720 | 724 | another serial port. The monitor is accessed with key sequence of |
| 721 | 725 | @key{Control-a} and then pressing @key{c}. See monitor access |
| ... | ... | @@ -729,7 +733,7 @@ listening on port 4444 would be: |
| 729 | 733 | |
| 730 | 734 | @end table |
| 731 | 735 | |
| 732 | -@item -parallel dev | |
| 736 | +@item -parallel @var{dev} | |
| 733 | 737 | Redirect the virtual parallel port to host device @var{dev} (same |
| 734 | 738 | devices as the serial port). On Linux hosts, @file{/dev/parportN} can |
| 735 | 739 | be used to use hardware devices connected on the corresponding host |
| ... | ... | @@ -740,7 +744,7 @@ ports. |
| 740 | 744 | |
| 741 | 745 | Use @code{-parallel none} to disable all parallel ports. |
| 742 | 746 | |
| 743 | -@item -monitor dev | |
| 747 | +@item -monitor @var{dev} | |
| 744 | 748 | Redirect the monitor to host device @var{dev} (same devices as the |
| 745 | 749 | serial port). |
| 746 | 750 | The default device is @code{vc} in graphical mode and @code{stdio} in |
| ... | ... | @@ -761,14 +765,14 @@ character to Control-t. |
| 761 | 765 | |
| 762 | 766 | @item -s |
| 763 | 767 | Wait gdb connection to port 1234 (@pxref{gdb_usage}). |
| 764 | -@item -p port | |
| 768 | +@item -p @var{port} | |
| 765 | 769 | Change gdb connection port. @var{port} can be either a decimal number |
| 766 | 770 | to specify a TCP port, or a host device (same devices as the serial port). |
| 767 | 771 | @item -S |
| 768 | 772 | Do not start CPU at startup (you must type 'c' in the monitor). |
| 769 | 773 | @item -d |
| 770 | 774 | Output log in /tmp/qemu.log |
| 771 | -@item -hdachs c,h,s,[,t] | |
| 775 | +@item -hdachs @var{c},@var{h},@var{s},[,@var{t}] | |
| 772 | 776 | Force hard disk 0 physical geometry (1 <= @var{c} <= 16383, 1 <= |
| 773 | 777 | @var{h} <= 16, 1 <= @var{s} <= 63) and optionally force the BIOS |
| 774 | 778 | translation mode (@var{t}=none, lba or auto). Usually QEMU can guess |
| ... | ... | @@ -879,7 +883,7 @@ emulator. You can use it to: |
| 879 | 883 | |
| 880 | 884 | @item |
| 881 | 885 | Remove or insert removable media images |
| 882 | -(such as CD-ROM or floppies) | |
| 886 | +(such as CD-ROM or floppies). | |
| 883 | 887 | |
| 884 | 888 | @item |
| 885 | 889 | Freeze/unfreeze the Virtual Machine (VM) and save or restore its state |
| ... | ... | @@ -895,14 +899,14 @@ The following commands are available: |
| 895 | 899 | |
| 896 | 900 | @table @option |
| 897 | 901 | |
| 898 | -@item help or ? [cmd] | |
| 902 | +@item help or ? [@var{cmd}] | |
| 899 | 903 | Show the help for all commands or just for command @var{cmd}. |
| 900 | 904 | |
| 901 | 905 | @item commit |
| 902 | -Commit changes to the disk images (if -snapshot is used) | |
| 906 | +Commit changes to the disk images (if -snapshot is used). | |
| 903 | 907 | |
| 904 | -@item info subcommand | |
| 905 | -show various information about the system state | |
| 908 | +@item info @var{subcommand} | |
| 909 | +Show various information about the system state. | |
| 906 | 910 | |
| 907 | 911 | @table @option |
| 908 | 912 | @item info network |
| ... | ... | @@ -930,12 +934,12 @@ show which guest mouse is receiving events |
| 930 | 934 | @item q or quit |
| 931 | 935 | Quit the emulator. |
| 932 | 936 | |
| 933 | -@item eject [-f] device | |
| 937 | +@item eject [-f] @var{device} | |
| 934 | 938 | Eject a removable medium (use -f to force it). |
| 935 | 939 | |
| 936 | -@item change device setting | |
| 940 | +@item change @var{device} @var{setting} | |
| 937 | 941 | |
| 938 | -Change the configuration of a device | |
| 942 | +Change the configuration of a device. | |
| 939 | 943 | |
| 940 | 944 | @table @option |
| 941 | 945 | @item change @var{diskdevice} @var{filename} |
| ... | ... | @@ -945,7 +949,7 @@ Change the medium for a removable disk device to point to @var{filename}. eg |
| 945 | 949 | (qemu) change cdrom /path/to/some.iso |
| 946 | 950 | @end example |
| 947 | 951 | |
| 948 | -@item change vnc @var{display,options} | |
| 952 | +@item change vnc @var{display},@var{options} | |
| 949 | 953 | Change the configuration of the VNC server. The valid syntax for @var{display} |
| 950 | 954 | and @var{options} are described at @ref{sec_invocation}. eg |
| 951 | 955 | |
| ... | ... | @@ -966,24 +970,24 @@ Password: ******** |
| 966 | 970 | |
| 967 | 971 | @end table |
| 968 | 972 | |
| 969 | -@item screendump filename | |
| 973 | +@item screendump @var{filename} | |
| 970 | 974 | Save screen into PPM image @var{filename}. |
| 971 | 975 | |
| 972 | -@item mouse_move dx dy [dz] | |
| 976 | +@item mouse_move @var{dx} @var{dy} [@var{dz}] | |
| 973 | 977 | Move the active mouse to the specified coordinates @var{dx} @var{dy} |
| 974 | 978 | with optional scroll axis @var{dz}. |
| 975 | 979 | |
| 976 | -@item mouse_button val | |
| 980 | +@item mouse_button @var{val} | |
| 977 | 981 | Change the active mouse button state @var{val} (1=L, 2=M, 4=R). |
| 978 | 982 | |
| 979 | -@item mouse_set index | |
| 983 | +@item mouse_set @var{index} | |
| 980 | 984 | Set which mouse device receives events at given @var{index}, index |
| 981 | 985 | can be obtained with |
| 982 | 986 | @example |
| 983 | 987 | info mice |
| 984 | 988 | @end example |
| 985 | 989 | |
| 986 | -@item wavcapture filename [frequency [bits [channels]]] | |
| 990 | +@item wavcapture @var{filename} [@var{frequency} [@var{bits} [@var{channels}]]] | |
| 987 | 991 | Capture audio into @var{filename}. Using sample rate @var{frequency} |
| 988 | 992 | bits per sample @var{bits} and number of channels @var{channels}. |
| 989 | 993 | |
| ... | ... | @@ -994,26 +998,26 @@ Defaults: |
| 994 | 998 | @item Number of channels = 2 - Stereo |
| 995 | 999 | @end itemize |
| 996 | 1000 | |
| 997 | -@item stopcapture index | |
| 1001 | +@item stopcapture @var{index} | |
| 998 | 1002 | Stop capture with a given @var{index}, index can be obtained with |
| 999 | 1003 | @example |
| 1000 | 1004 | info capture |
| 1001 | 1005 | @end example |
| 1002 | 1006 | |
| 1003 | -@item log item1[,...] | |
| 1007 | +@item log @var{item1}[,...] | |
| 1004 | 1008 | Activate logging of the specified items to @file{/tmp/qemu.log}. |
| 1005 | 1009 | |
| 1006 | -@item savevm [tag|id] | |
| 1010 | +@item savevm [@var{tag}|@var{id}] | |
| 1007 | 1011 | Create a snapshot of the whole virtual machine. If @var{tag} is |
| 1008 | 1012 | provided, it is used as human readable identifier. If there is already |
| 1009 | 1013 | a snapshot with the same tag or ID, it is replaced. More info at |
| 1010 | 1014 | @ref{vm_snapshots}. |
| 1011 | 1015 | |
| 1012 | -@item loadvm tag|id | |
| 1016 | +@item loadvm @var{tag}|@var{id} | |
| 1013 | 1017 | Set the whole virtual machine to the snapshot identified by the tag |
| 1014 | 1018 | @var{tag} or the unique snapshot ID @var{id}. |
| 1015 | 1019 | |
| 1016 | -@item delvm tag|id | |
| 1020 | +@item delvm @var{tag}|@var{id} | |
| 1017 | 1021 | Delete the snapshot identified by @var{tag} or @var{id}. |
| 1018 | 1022 | |
| 1019 | 1023 | @item stop |
| ... | ... | @@ -1022,13 +1026,13 @@ Stop emulation. |
| 1022 | 1026 | @item c or cont |
| 1023 | 1027 | Resume emulation. |
| 1024 | 1028 | |
| 1025 | -@item gdbserver [port] | |
| 1026 | -Start gdbserver session (default port=1234) | |
| 1029 | +@item gdbserver [@var{port}] | |
| 1030 | +Start gdbserver session (default @var{port}=1234) | |
| 1027 | 1031 | |
| 1028 | -@item x/fmt addr | |
| 1032 | +@item x/fmt @var{addr} | |
| 1029 | 1033 | Virtual memory dump starting at @var{addr}. |
| 1030 | 1034 | |
| 1031 | -@item xp /fmt addr | |
| 1035 | +@item xp /@var{fmt} @var{addr} | |
| 1032 | 1036 | Physical memory dump starting at @var{addr}. |
| 1033 | 1037 | |
| 1034 | 1038 | @var{fmt} is a format which tells the command how to format the |
| ... | ... | @@ -1084,12 +1088,12 @@ Dump 80 16 bit values at the start of the video memory. |
| 1084 | 1088 | @end smallexample |
| 1085 | 1089 | @end itemize |
| 1086 | 1090 | |
| 1087 | -@item p or print/fmt expr | |
| 1091 | +@item p or print/@var{fmt} @var{expr} | |
| 1088 | 1092 | |
| 1089 | 1093 | Print expression value. Only the @var{format} part of @var{fmt} is |
| 1090 | 1094 | used. |
| 1091 | 1095 | |
| 1092 | -@item sendkey keys | |
| 1096 | +@item sendkey @var{keys} | |
| 1093 | 1097 | |
| 1094 | 1098 | Send @var{keys} to the emulator. Use @code{-} to press several keys |
| 1095 | 1099 | simultaneously. Example: |
| ... | ... | @@ -1104,12 +1108,12 @@ intercepts at low level, such as @code{ctrl-alt-f1} in X Window. |
| 1104 | 1108 | |
| 1105 | 1109 | Reset the system. |
| 1106 | 1110 | |
| 1107 | -@item usb_add devname | |
| 1111 | +@item usb_add @var{devname} | |
| 1108 | 1112 | |
| 1109 | 1113 | Add the USB device @var{devname}. For details of available devices see |
| 1110 | 1114 | @ref{usb_devices} |
| 1111 | 1115 | |
| 1112 | -@item usb_del devname | |
| 1116 | +@item usb_del @var{devname} | |
| 1113 | 1117 | |
| 1114 | 1118 | Remove the USB device @var{devname} from the QEMU virtual USB |
| 1115 | 1119 | hub. @var{devname} has the syntax @code{bus.addr}. Use the monitor |
| ... | ... | @@ -1263,7 +1267,7 @@ Currently there is no specific code to handle removable media, so it |
| 1263 | 1267 | is better to use the @code{change} or @code{eject} monitor commands to |
| 1264 | 1268 | change or eject media. |
| 1265 | 1269 | @item Hard disks |
| 1266 | -Hard disks can be used with the syntax: @file{\\.\PhysicalDriveN} | |
| 1270 | +Hard disks can be used with the syntax: @file{\\.\PhysicalDrive@var{N}} | |
| 1267 | 1271 | where @var{N} is the drive number (0 is the first hard disk). |
| 1268 | 1272 | |
| 1269 | 1273 | WARNING: unless you know what you do, it is better to only make |
| ... | ... | @@ -1458,12 +1462,12 @@ Virtual Mouse. This will override the PS/2 mouse emulation when activated. |
| 1458 | 1462 | Pointer device that uses absolute coordinates (like a touchscreen). |
| 1459 | 1463 | This means qemu is able to report the mouse position without having |
| 1460 | 1464 | to grab the mouse. Also overrides the PS/2 mouse emulation when activated. |
| 1461 | -@item @code{disk:file} | |
| 1465 | +@item @code{disk:@var{file}} | |
| 1462 | 1466 | Mass storage device based on @var{file} (@pxref{disk_images}) |
| 1463 | -@item @code{host:bus.addr} | |
| 1467 | +@item @code{host:@var{bus.addr}} | |
| 1464 | 1468 | Pass through the host device identified by @var{bus.addr} |
| 1465 | 1469 | (Linux only) |
| 1466 | -@item @code{host:vendor_id:product_id} | |
| 1470 | +@item @code{host:@var{vendor_id:product_id}} | |
| 1467 | 1471 | Pass through the host device identified by @var{vendor_id:product_id} |
| 1468 | 1472 | (Linux only) |
| 1469 | 1473 | @item @code{wacom-tablet} | ... | ... |