Advertisement
Guest User

Untitled

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