Statistics
| Branch: | Tag: | Revision:

root / test / data / kvm_0.9.1_help_boot_test.txt @ 896cc964

History | View | Annotate | Download (5.9 kB)

1 eb7a6965 Guido Trotter
QEMU PC emulator version 0.9.1 (kvm-72), Copyright (c) 2003-2008 Fabrice Bellard
2 eb7a6965 Guido Trotter
usage: qemu [options] [disk_image]
3 eb7a6965 Guido Trotter
4 eb7a6965 Guido Trotter
'disk_image' is a raw hard image image for IDE hard disk 0
5 eb7a6965 Guido Trotter
6 eb7a6965 Guido Trotter
Standard options:
7 eb7a6965 Guido Trotter
-M machine      select emulated machine (-M ? for list)
8 eb7a6965 Guido Trotter
-cpu cpu        select CPU (-cpu ? for list)
9 eb7a6965 Guido Trotter
-fda/-fdb file  use 'file' as floppy disk 0/1 image
10 eb7a6965 Guido Trotter
-hda/-hdb file  use 'file' as IDE hard disk 0/1 image
11 eb7a6965 Guido Trotter
-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image
12 eb7a6965 Guido Trotter
-cdrom file     use 'file' as IDE cdrom image (cdrom is ide1 master)
13 eb7a6965 Guido Trotter
-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]
14 eb7a6965 Guido Trotter
       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]
15 eb7a6965 Guido Trotter
-fakeopt
16 eb7a6965 Guido Trotter
       [,cache=on|off][,format=f][,boot=on|off]
17 eb7a6965 Guido Trotter
                use 'file' as a drive image
18 eb7a6965 Guido Trotter
-mtdblock file  use 'file' as on-board Flash memory image
19 eb7a6965 Guido Trotter
-sd file        use 'file' as SecureDigital card image
20 eb7a6965 Guido Trotter
-pflash file    use 'file' as a parallel flash image
21 eb7a6965 Guido Trotter
-boot [a|c|d|n] boot on floppy (a), hard disk (c), CD-ROM (d), or network (n)
22 eb7a6965 Guido Trotter
-snapshot       write to temporary files instead of disk image files
23 eb7a6965 Guido Trotter
-no-frame       open SDL window without a frame and window decorations
24 eb7a6965 Guido Trotter
-alt-grab       use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)
25 eb7a6965 Guido Trotter
-no-quit        disable SDL window close capability
26 eb7a6965 Guido Trotter
-no-fd-bootchk  disable boot signature checking for floppy disks
27 eb7a6965 Guido Trotter
-m megs         set virtual RAM size to megs MB [default=128]
28 eb7a6965 Guido Trotter
-smp n          set the number of CPUs to 'n' [default=1]
29 eb7a6965 Guido Trotter
-nographic      disable graphical output and redirect serial I/Os to console
30 eb7a6965 Guido Trotter
-portrait       rotate graphical output 90 deg left (only PXA LCD)
31 eb7a6965 Guido Trotter
-k language     use keyboard layout (for example "fr" for French)
32 eb7a6965 Guido Trotter
-audio-help     print list of audio drivers and their options
33 eb7a6965 Guido Trotter
-soundhw c1,... enable audio support
34 eb7a6965 Guido Trotter
                and only specified sound cards (comma separated list)
35 eb7a6965 Guido Trotter
                use -soundhw ? to get the list of supported cards
36 eb7a6965 Guido Trotter
                use -soundhw all to enable all of them
37 eb7a6965 Guido Trotter
-localtime      set the real time clock to local time [default=utc]
38 eb7a6965 Guido Trotter
-full-screen    start in full screen
39 eb7a6965 Guido Trotter
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
40 eb7a6965 Guido Trotter
-usb            enable the USB driver (will be the default soon)
41 eb7a6965 Guido Trotter
-usbdevice name add the host or guest USB device 'name'
42 eb7a6965 Guido Trotter
-name string    set the name of the guest
43 eb7a6965 Guido Trotter
44 eb7a6965 Guido Trotter
Network options:
45 eb7a6965 Guido Trotter
-net nic[,vlan=n][,macaddr=addr][,model=type]
46 eb7a6965 Guido Trotter
                create a new Network Interface Card and connect it to VLAN 'n'
47 eb7a6965 Guido Trotter
-net user[,vlan=n][,hostname=host]
48 eb7a6965 Guido Trotter
                connect the user mode network stack to VLAN 'n' and send
49 eb7a6965 Guido Trotter
                hostname 'host' to DHCP clients
50 eb7a6965 Guido Trotter
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,downscript=dfile]
51 eb7a6965 Guido Trotter
                connect the host TAP network interface to VLAN 'n' and use the
52 eb7a6965 Guido Trotter
                network scripts 'file' (default=/etc/kvm/kvm-ifup)
53 eb7a6965 Guido Trotter
                and 'dfile' (default=/etc/kvm/kvm-ifdown);
54 eb7a6965 Guido Trotter
                use '[down]script=no' to disable script execution;
55 eb7a6965 Guido Trotter
                use 'fd=h' to connect to an already opened TAP interface
56 eb7a6965 Guido Trotter
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
57 eb7a6965 Guido Trotter
                connect the vlan 'n' to another VLAN using a socket connection
58 eb7a6965 Guido Trotter
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
59 eb7a6965 Guido Trotter
                connect the vlan 'n' to multicast maddr and port
60 eb7a6965 Guido Trotter
-net none       use it alone to have zero network devices; if no -net option
61 eb7a6965 Guido Trotter
                is provided, the default is '-net nic -net user'
62 eb7a6965 Guido Trotter
63 eb7a6965 Guido Trotter
-tftp dir       allow tftp access to files in dir [-net user]
64 eb7a6965 Guido Trotter
-bootp file     advertise file in BOOTP replies
65 eb7a6965 Guido Trotter
-smb dir        allow SMB access to files in 'dir' [-net user]
66 eb7a6965 Guido Trotter
-redir [tcp|udp]:host-port:[guest-host]:guest-port
67 eb7a6965 Guido Trotter
                redirect TCP or UDP connections from host to guest [-net user]
68 eb7a6965 Guido Trotter
69 eb7a6965 Guido Trotter
Linux boot specific:
70 eb7a6965 Guido Trotter
-kernel bzImage use 'bzImage' as kernel image
71 eb7a6965 Guido Trotter
-append cmdline use 'cmdline' as kernel command line
72 eb7a6965 Guido Trotter
-initrd file    use 'file' as initial ram disk
73 eb7a6965 Guido Trotter
74 eb7a6965 Guido Trotter
Debug/Expert options:
75 eb7a6965 Guido Trotter
-monitor dev    redirect the monitor to char device 'dev'
76 eb7a6965 Guido Trotter
-serial dev     redirect the serial port to char device 'dev'
77 eb7a6965 Guido Trotter
-parallel dev   redirect the parallel port to char device 'dev'
78 eb7a6965 Guido Trotter
-pidfile file   Write PID to 'file'
79 eb7a6965 Guido Trotter
-S              freeze CPU at startup (use 'c' to start execution)
80 eb7a6965 Guido Trotter
-s              wait gdb connection to port
81 eb7a6965 Guido Trotter
-p port         set gdb connection port [default=1234]
82 eb7a6965 Guido Trotter
-d item1,...    output log to /tmp/qemu.log (use -d ? for a list of log items)
83 eb7a6965 Guido Trotter
-hdachs c,h,s[,t]  force hard disk 0 physical geometry and the optional BIOS
84 eb7a6965 Guido Trotter
                translation (t=none or lba) (usually qemu can guess them)
85 eb7a6965 Guido Trotter
-L path         set the directory for the BIOS, VGA BIOS and keymaps
86 eb7a6965 Guido Trotter
-no-kvm         disable KVM hardware virtualization
87 eb7a6965 Guido Trotter
-no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAPIC
88 eb7a6965 Guido Trotter
-no-kvm-pit	    disable KVM kernel mode PIT
89 eb7a6965 Guido Trotter
-std-vga        simulate a standard VGA card with VESA Bochs Extensions
90 eb7a6965 Guido Trotter
                (default is CL-GD5446 PCI VGA)
91 eb7a6965 Guido Trotter
-no-acpi        disable ACPI
92 eb7a6965 Guido Trotter
-curses         use a curses/ncurses interface instead of SDL
93 eb7a6965 Guido Trotter
-no-reboot      exit instead of rebooting
94 eb7a6965 Guido Trotter
-no-shutdown    stop before shutdown
95 eb7a6965 Guido Trotter
-loadvm [tag|id]  start right away with a saved state (loadvm in monitor)
96 eb7a6965 Guido Trotter
-vnc display    start a VNC server on display
97 eb7a6965 Guido Trotter
-daemonize      daemonize QEMU after initializing
98 eb7a6965 Guido Trotter
-tdf            inject timer interrupts that got lost
99 eb7a6965 Guido Trotter
-kvm-shadow-memory megs set the amount of shadow pages to be allocated
100 eb7a6965 Guido Trotter
-mem-path       set the path to hugetlbfs/tmpfs mounted directory, also enables allocation of guest memory with huge pages
101 eb7a6965 Guido Trotter
-option-rom rom load a file, rom, into the option ROM space
102 eb7a6965 Guido Trotter
-clock          force the use of the given methods for timer alarm.
103 eb7a6965 Guido Trotter
                To see what timers are available use -clock ?
104 eb7a6965 Guido Trotter
-startdate      select initial date of the clock
105 eb7a6965 Guido Trotter
-icount [N|auto]
106 eb7a6965 Guido Trotter
                Enable virtual instruction counter with 2^N clock ticks per instruction
107 eb7a6965 Guido Trotter
108 eb7a6965 Guido Trotter
During emulation, the following keys are useful:
109 eb7a6965 Guido Trotter
ctrl-alt-f      toggle full screen
110 eb7a6965 Guido Trotter
ctrl-alt-n      switch to virtual console 'n'
111 eb7a6965 Guido Trotter
ctrl-alt        toggle mouse and keyboard grab
112 eb7a6965 Guido Trotter
113 eb7a6965 Guido Trotter
When using -nographic, press 'ctrl-a h' to get some help.