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