⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qemu.1

📁 qemu虚拟机代码
💻 1
📖 第 1 页 / 共 2 页
字号:
.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13.\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings.  \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote.  | will give a.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'.\" expand to `' in nroff, nothing in troff, for use with C<>..tr \(*W-|\(bv\*(Tr.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\.    ds -- \(*W-.    ds PI pi.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch.    ds L" "".    ds R" "".    ds C` "".    ds C' ""'br\}.el\{\.    ds -- \|\(em\|.    ds PI \(*p.    ds L" ``.    ds R" '''br\}.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD.  Of course, you'll have to process the.\" output yourself in some meaningful fashion..if \nF \{\.    de IX.    tm Index:\\$1\t\\n%\t"\\$2"...    nr % 0.    rr F.\}.\".\" For nroff, turn off justification.  Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..hy 0.if n .na.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear.  Run.  Save yourself.  No user-serviceable parts..    \" fudge factors for nroff and troff.if n \{\.    ds #H 0.    ds #V .8m.    ds #F .3m.    ds #[ \f1.    ds #] \fP.\}.if t \{\.    ds #H ((1u-(\\\\n(.fu%2u))*.13m).    ds #V .6m.    ds #F 0.    ds #[ \&.    ds #] \&.\}.    \" simple accents for nroff and troff.if n \{\.    ds ' \&.    ds ` \&.    ds ^ \&.    ds , \&.    ds ~ ~.    ds /.\}.if t \{\.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u".    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}.    \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E.    \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'.    \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\.    ds : e.    ds 8 ss.    ds o a.    ds d- d\h'-1'\(ga.    ds D- D\h'-1'\(hy.    ds th \o'bp'.    ds Th \o'LP'.    ds ae ae.    ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "QEMU 1".TH QEMU 1 "2006-05-03" " " " ".SH "NAME"qemu\-doc \- QEMU CPU Emulator User Documentation.SH "SYNOPSIS".IX Header "SYNOPSIS"usage: qemu [options] [disk_image].SH "DESCRIPTION".IX Header "DESCRIPTION"The \s-1QEMU\s0 \s-1PC\s0 System emulator simulates thefollowing peripherals:.IP "\-" 4i440FX host \s-1PCI\s0 bridge and \s-1PIIX3\s0 \s-1PCI\s0 to \s-1ISA\s0 bridge.IP "\-" 4Cirrus \s-1CLGD\s0 5446 \s-1PCI\s0 \s-1VGA\s0 card or dummy \s-1VGA\s0 card with Bochs \s-1VESA\s0extensions (hardware level, including all non standard modes)..IP "\-" 4\&\s-1PS/2\s0 mouse and keyboard.IP "\-" 42 \s-1PCI\s0 \s-1IDE\s0 interfaces with hard disk and CD-ROM support.IP "\-" 4Floppy disk.IP "\-" 4\&\s-1NE2000\s0 \s-1PCI\s0 network adapters.IP "\-" 4Serial ports.IP "\-" 4Creative SoundBlaster 16 sound card.IP "\-" 4\&\s-1ENSONIQ\s0 AudioPCI \s-1ES1370\s0 sound card.IP "\-" 4Adlib(\s-1OPL2\s0) \- Yamaha \s-1YM3812\s0 compatible chip.IP "\-" 4\&\s-1PCI\s0 \s-1UHCI\s0 \s-1USB\s0 controller and a virtual \s-1USB\s0 hub..PP\&\s-1SMP\s0 is supported with up to 255 CPUs..PPNote that adlib is only available when \s-1QEMU\s0 was configured with\&\-enable\-adlib.PP\&\s-1QEMU\s0 uses the \s-1PC\s0 \s-1BIOS\s0 from the Bochs project and the Plex86/Bochs \s-1LGPL\s0\&\s-1VGA\s0 \s-1BIOS\s0..PP\&\s-1QEMU\s0 uses \s-1YM3812\s0 emulation by Tatsuyuki Satoh..SH "OPTIONS".IX Header "OPTIONS"\&\fIdisk_image\fR is a raw hard disk image for \s-1IDE\s0 hard disk 0..PPGeneral options:.IP "\fB\-M machine\fR" 4.IX Item "-M machine"Select the emulated machine (\f(CW\*(C`\-M ?\*(C'\fR for list).IP "\fB\-fda file\fR" 4.IX Item "-fda file".PD 0.IP "\fB\-fdb file\fR" 4.IX Item "-fdb file".PDUse \fIfile\fR as floppy disk 0/1 image. You canuse the host floppy by using \fI/dev/fd0\fR as filename..IP "\fB\-hda file\fR" 4.IX Item "-hda file".PD 0.IP "\fB\-hdb file\fR" 4.IX Item "-hdb file".IP "\fB\-hdc file\fR" 4.IX Item "-hdc file".IP "\fB\-hdd file\fR" 4.IX Item "-hdd file".PDUse \fIfile\fR as hard disk 0, 1, 2 or 3 image..IP "\fB\-cdrom file\fR" 4.IX Item "-cdrom file"Use \fIfile\fR as CD-ROM image (you cannot use \fB\-hdc\fR and and\&\fB\-cdrom\fR at the same time). You can use the host CD-ROM byusing \fI/dev/cdrom\fR as filename..IP "\fB\-boot [a|c|d]\fR" 4.IX Item "-boot [a|c|d]"Boot on floppy (a), hard disk (c) or CD-ROM (d). Hard disk boot isthe default..IP "\fB\-snapshot\fR" 4.IX Item "-snapshot"Write to temporary files instead of disk image files. In this case,the raw disk image you use is not written back. You can however forcethe write back by pressing \fBC\-a s\fR. .IP "\fB\-m megs\fR" 4.IX Item "-m megs"Set virtual \s-1RAM\s0 size to \fImegs\fR megabytes. Default is 128 \s-1MB\s0..IP "\fB\-smp n\fR" 4.IX Item "-smp n"Simulate an \s-1SMP\s0 system with \fIn\fR CPUs. On the \s-1PC\s0 target, up to 255CPUs are supported..IP "\fB\-nographic\fR" 4.IX Item "-nographic"Normally, \s-1QEMU\s0 uses \s-1SDL\s0 to display the \s-1VGA\s0 output. With this option,you can totally disable graphical output so that \s-1QEMU\s0 is a simplecommand line application. The emulated serial port is redirected onthe console. Therefore, you can still use \s-1QEMU\s0 to debug a Linux kernelwith a serial console..IP "\fB\-vnc d\fR" 4.IX Item "-vnc d"Normally, \s-1QEMU\s0 uses \s-1SDL\s0 to display the \s-1VGA\s0 output.  With this option,you can have \s-1QEMU\s0 listen on \s-1VNC\s0 display d and redirect the \s-1VGA\s0 displayover the \s-1VNC\s0 session.  It is very useful to enable the usb tablet devicewhen using this option (option \fB\-usbdevice tablet\fR)..IP "\fB\-k language\fR" 4.IX Item "-k language"Use keyboard layout \fIlanguage\fR (for example \f(CW\*(C`fr\*(C'\fR forFrench). This option is only needed where it is not easy to get raw \s-1PC\s0keycodes (e.g. on Macs or with some X11 servers). You don't need touse it on PC/Linux or PC/Windows hosts..SpThe available layouts are:.Sp.Vb 3\&        ar  de-ch  es  fo     fr-ca  hu  ja  mk     no  pt-br  sv\&        da  en-gb  et  fr     fr-ch  is  lt  nl     pl  ru     th\&        de  en-us  fi  fr-be  hr     it  lv  nl-be  pt  sl     tr.Ve.SpThe default is \f(CW\*(C`en\-us\*(C'\fR..IP "\fB\-audio\-help\fR" 4.IX Item "-audio-help"Will show the audio subsystem help: list of drivers, tunableparameters..IP "\fB\-soundhw card1,card2,... or \-soundhw all\fR" 4.IX Item "-soundhw card1,card2,... or -soundhw all"Enable audio and selected sound hardware. Use ? to print allavailable sound hardware..Sp.Vb 4\&        qemu -soundhw sb16,adlib hda\&        qemu -soundhw es1370 hda\&        qemu -soundhw all hda\&        qemu -soundhw ?.Ve.IP "\fB\-localtime\fR" 4.IX Item "-localtime"Set the real time clock to local time (the default is to \s-1UTC\s0time). This option is needed to have correct date in MS-DOS orWindows..IP "\fB\-full\-screen\fR" 4.IX Item "-full-screen"Start in full screen..IP "\fB\-pidfile file\fR" 4.IX Item "-pidfile file"Store the \s-1QEMU\s0 process \s-1PID\s0 in \fIfile\fR. It is useful if you launch \s-1QEMU\s0from a script..IP "\fB\-win2k\-hack\fR" 4.IX Item "-win2k-hack"Use it when installing Windows 2000 to avoid a disk full bug. AfterWindows 2000 is installed, you no longer need this option (this optionslows down the \s-1IDE\s0 transfers)..PP\&\s-1USB\s0 options:.IP "\fB\-usb\fR" 4.IX Item "-usb"Enable the \s-1USB\s0 driver (will be the default soon).IP "\fB\-usbdevice devname\fR" 4.IX Item "-usbdevice devname"Add the \s-1USB\s0 device \fIdevname\fR. See the monitor command\&\f(CW\*(C`usb_add\*(C'\fR to have more information..PPNetwork options:.IP "\fB\-net nic[,vlan=n][,macaddr=addr][,model=type]\fR" 4.IX Item "-net nic[,vlan=n][,macaddr=addr][,model=type]"Create a new Network Interface Card and connect it to \s-1VLAN\s0 \fIn\fR (\fIn\fR= 0 is the default). The \s-1NIC\s0 is currently an \s-1NE2000\s0 on the \s-1PC\s0target. Optionally, the \s-1MAC\s0 address can be changed. If no\&\fB\-net\fR option is specified, a single \s-1NIC\s0 is created.Qemu can emulate several different models of network card.  Valid values for\&\fItype\fR are \f(CW\*(C`ne2k_pci\*(C'\fR, \f(CW\*(C`ne2k_isa\*(C'\fR, \f(CW\*(C`rtl8139\*(C'\fR,\&\f(CW\*(C`smc91c111\*(C'\fR and \f(CW\*(C`lance\*(C'\fR.  Not all devices are supported on alltargets..IP "\fB\-net user[,vlan=n][,hostname=name]\fR" 4.IX Item "-net user[,vlan=n][,hostname=name]"Use the user mode network stack which requires no administratorpriviledge to run.  \fBhostname=name\fR can be used to specify the clienthostname reported by the builtin \s-1DHCP\s0 server..IP "\fB\-net tap[,vlan=n][,fd=h][,ifname=name][,script=file]\fR" 4.IX Item "-net tap[,vlan=n][,fd=h][,ifname=name][,script=file]"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -