VirtualBox

source: vbox/trunk/doc/manual/en_US/user_BasicConcepts.xml@ 35173

最後變更 在這個檔案從35173是 35065,由 vboxsync 提交於 14 年 前

Manual: doc updates (vbox settings, chipset)

檔案大小: 58.0 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
4<chapter id="BasicConcepts">
5 <title>Configuring virtual machines</title>
6
7 <para>Whereas <xref linkend="Introduction" /> gave you a quick introduction
8 to VirtualBox and how to get your first virtual machine running, the
9 following chapter describes in detail how to configure virtual
10 machines.</para>
11
12 <para>You have considerable latitude in deciding what virtual hardware will
13 be provided to the guest. The virtual hardware can be used for communicating
14 with the host system or with other guests. For instance, if you provide
15 VirtualBox with the image of a CD-ROM in an ISO file, VirtualBox can present
16 this image to a guest system as if it were a physical CD-ROM. Similarly, you
17 can give a guest system access to the real network via its virtual network
18 card, and, if you so choose, give the host system, other guests, or
19 computers on the Internet access to the guest system.</para>
20
21 <sect1>
22 <title id="guestossupport">Supported guest operating systems</title>
23
24 <para>Since VirtualBox is designed to provide a generic virtualization
25 environment for x86 systems, it may run operating systems of any kind,
26 even those not listed here. However, the focus is to optimize VirtualBox
27 for the following guest systems:</para>
28
29 <para><glosslist>
30 <glossentry>
31 <glossterm>Windows NT 4.0</glossterm>
32
33 <glossdef>
34 <para>All versions, editions and service packs are fully
35 supported; however, there are some issues with older service
36 packs. We recommend to install service pack 6a. Guest Additions
37 are available with a limited feature set.</para>
38 </glossdef>
39 </glossentry>
40
41 <glossentry>
42 <glossterm>Windows 2000 / XP / Server 2003 / Vista / Server 2008 /
43 Windows 7</glossterm>
44
45 <glossdef>
46 <para>All versions, editions and service packs are fully supported
47 (including 64-bit versions, under the preconditions listed below).
48 Guest Additions are available.</para>
49 </glossdef>
50 </glossentry>
51
52 <glossentry>
53 <glossterm>DOS / Windows 3.x / 95 / 98 / ME</glossterm>
54
55 <glossdef>
56 <para>Limited testing has been performed. Use beyond legacy
57 installation mechanisms not recommended. No Guest Additions
58 available.</para>
59 </glossdef>
60 </glossentry>
61
62 <glossentry>
63 <glossterm>Linux 2.4</glossterm>
64
65 <glossdef>
66 <para>Limited support.</para>
67 </glossdef>
68 </glossentry>
69
70 <glossentry>
71 <glossterm>Linux 2.6</glossterm>
72
73 <glossdef>
74 <para>All versions/editions are fully supported (32 bits and 64
75 bits). Guest Additions are available.</para>
76
77 <para>We strongly recommend using a Linux kernel version 2.6.13 or
78 higher for better performance.<note>
79 <para>Certain Linux kernel releases have bugs that prevent
80 them from executing in a virtual environment; please see <xref
81 linkend="trouble-linux-buggy" /> for details.</para>
82 </note></para>
83 </glossdef>
84 </glossentry>
85
86 <glossentry>
87 <glossterm>Solaris 10, OpenSolaris</glossterm>
88
89 <glossdef>
90 <para>Fully supported (32 bits and 64 bits). Guest Additions are
91 available.</para>
92 </glossdef>
93 </glossentry>
94
95 <glossentry>
96 <glossterm>FreeBSD</glossterm>
97
98 <glossdef>
99 <para>Requires hardware virtualization to be enabled. Limited
100 support. Guest Additions are not available yet.</para>
101 </glossdef>
102 </glossentry>
103
104 <glossentry>
105 <glossterm>OpenBSD</glossterm>
106
107 <glossdef>
108 <para>Requires hardware virtualization to be enabled. Versions 3.7
109 and later are supported. Guest Additions are not available
110 yet.</para>
111 </glossdef>
112 </glossentry>
113
114 <glossentry>
115 <glossterm>OS/2 Warp 4.5</glossterm>
116
117 <glossdef>
118 <para>Requires hardware virtualization to be enabled. We
119 officially support MCP2 only; other OS/2 versions may or may not
120 work. Guest Additions are available with a limited feature
121 set.<footnote>
122 <para>See <xref linkend="KnownIssues" />.</para>
123 </footnote></para>
124 </glossdef>
125 </glossentry>
126
127 <glossentry>
128 <glossterm>Mac OS X Server</glossterm>
129
130 <glossdef>
131 <para>VirtualBox 3.2 added experimental support for Mac OS X
132 Server guests, but this comes with restrictions. Please see the
133 following section as well as <xref
134 linkend="KnownIssues" />.</para>
135 </glossdef>
136 </glossentry>
137 </glosslist></para>
138
139 <sect2 id="intro-macosxguests">
140 <title>Mac OS X Server guests</title>
141
142 <para>Starting with version 3.2, VirtualBox has experimental support for
143 Mac OS X Server guests. This allows you to install and execute
144 unmodified versions of Mac OS X Server on supported host
145 hardware.</para>
146
147 <para>Whereas competing solutions perform modifications to the Mac OS X
148 Server install DVDs (e.g. different boot loader and replaced files),
149 VirtualBox is the first product to provide the modern PC architecture
150 expected by OS X without requiring any "hacks".</para>
151
152 <para>You should be aware of a number of <emphasis role="bold">important
153 issues</emphasis> before attempting to install a Mac OS X Server
154 guest:<orderedlist>
155 <listitem>
156 <para>Mac OS X is commercial, licensed software and contains
157 <emphasis role="bold">both license and technical
158 restrictions</emphasis> that limit its use to certain hardware and
159 usage scenarios. It is important that you understand and obey
160 these restrictions.</para>
161
162 <para>In particular, for most versions of Mac OS X Server, Apple
163 prohibits installing them on non-Apple hardware. Also, only the
164 server versions of Mac OS X are designed to be used in a virtual
165 environment; as a result, VirtualBox does not support client
166 versions of Mac OS X as a guest.</para>
167
168 <para>These license restrictions are also enforced on a technical
169 level. Mac OS X Server verifies whether it is running on Apple
170 hardware, and most DVDs that that come with Apple hardware even
171 check for an exact model. These restrictions are
172 <emphasis>not</emphasis> circumvented by VirtualBox and continue
173 to apply.</para>
174 </listitem>
175
176 <listitem>
177 <para>Only <emphasis role="bold">CPUs</emphasis> known and tested
178 by Apple are supported. As a result, if your Intel CPU is newer
179 than the build of Mac OS X Server, or if you have a non-Intel CPU,
180 it will most likely panic during bootup with an "Unsupported CPU"
181 exception. It is generally best to use the Mac OS X Server DVD
182 that came with your Apple hardware.</para>
183 </listitem>
184
185 <listitem>
186 <para>The Mac OS X Server installer expects the harddisk to be
187 <emphasis role="bold">partitioned</emphasis> so when it does not
188 offer a selection, you have to launch the Disk Utility from the
189 "Tools" menu and partition the hard disk. Then close the Disk
190 Utility and proceed with the installation.</para>
191 </listitem>
192
193 <listitem>
194 <para>In addition, as Mac OS X Server support in VirtualBox is
195 currently still experimental, please refer also to <xref
196 linkend="KnownIssues" />.</para>
197 </listitem>
198 </orderedlist></para>
199 </sect2>
200
201 <sect2 id="intro-64bitguests">
202 <title>64-bit guests</title>
203
204 <para>VirtualBox supports 64-bit guest operating systems, even on 32-bit
205 host operating systems,<footnote>
206 <para>64-bit guest support was added with VirtualBox 2.0; support
207 for 64-bit guests on 32-bit hosts was added with VirtualBox
208 2.1.</para>
209 </footnote> provided that the following conditions are
210 met:<orderedlist>
211 <listitem>
212 <para>You need a 64-bit processor with hardware virtualization
213 support (see <xref linkend="hwvirt" />).</para>
214 </listitem>
215
216 <listitem>
217 <para>You must enable hardware virtualization for the particular
218 VM for which you want 64-bit support; software virtualization is
219 not supported for 64-bit VMs.</para>
220 </listitem>
221
222 <listitem>
223 <para>If you want to use 64-bit guest support on a 32-bit host
224 operating system, you must also select a 64-bit operating system
225 for the particular VM. Since supporting 64 bits on 32-bit hosts
226 incurs additional overhead, VirtualBox only enables this support
227 upon explicit request.</para>
228
229 <para>On 64-bit hosts (which typically come with hardware
230 virtualization support), 64-bit guest operating systems are always
231 supported regardless of settings, so you can simply install a
232 64-bit operating system in the guest.</para>
233 </listitem>
234 </orderedlist></para>
235
236 <para><warning>
237 <para>On any host, you should enable the <emphasis role="bold">I/O
238 APIC</emphasis> for virtual machines that you intend to use in
239 64-bit mode. This is especially true for 64-bit Windows VMs. See
240 <xref linkend="settings-general-advanced" />. In addition, for
241 64-bit Windows guests, you should make sure that the VM uses the
242 <emphasis role="bold">Intel networking device</emphasis>, since
243 there is no 64-bit driver support for the AMD PCNet card; see <xref
244 linkend="nichardware" />.</para>
245 </warning></para>
246
247 <para>If you use the "Create VM" wizard of the VirtualBox graphical user
248 interface (see <xref linkend="gui-createvm" />), VirtualBox will
249 automatically use the correct settings for each selected 64-bit
250 operating system type.</para>
251 </sect2>
252 </sect1>
253
254 <sect1>
255 <title>Emulated hardware</title>
256
257 <para>VirtualBox virtualizes nearly all hardware of the host. Depending on
258 a VM's configuration, the guest will see the following virtual
259 hardware:<itemizedlist>
260 <listitem>
261 <para><emphasis role="bold">Input devices.</emphasis> By default,
262 VirtualBox emulates a standard PS/2 keyboard and mouse. These
263 devices are supported by almost all past and present operating
264 systems.</para>
265
266 <para>In addition, VirtualBox can provide virtual USB input devices
267 to avoid having to capture mouse and keyboard, as described in <xref
268 linkend="keyb_mouse_normal" />.</para>
269 </listitem>
270
271 <listitem>
272 <para><emphasis role="bold">Graphics.</emphasis> The VirtualBox
273 graphics device (sometimes referred to as VGA device) is, unlike
274 nearly all other emulated devices, not based on any physical
275 counterpart. It is a simple, synthetic device which provides
276 compatibility with standard VGA and several extended registers used
277 by the VESA BIOS Extensions (VBE).</para>
278 </listitem>
279
280 <listitem>
281 <para><emphasis role="bold">Storage.</emphasis> VirtualBox currently
282 emulates the standard ATA interface found on Intel PIIX3/PIIX4
283 chips, the SATA (AHCI) interface, and two SCSI adapters (LSI Logic
284 and BusLogic); see <xref linkend="harddiskcontrollers" /> for
285 details. Whereas providing one of these would be enough for
286 VirtualBox by itself, this multitude of storage adapters is required
287 for compatibility with other hypervisors. Windows is particularly
288 picky about its boot devices, and migrating VMs between hypervisors
289 is very difficult or impossible if the storage controllers are
290 different.</para>
291 </listitem>
292
293 <listitem>
294 <para><emphasis role="bold">Networking.</emphasis> See <xref
295 linkend="nichardware" />.</para>
296 </listitem>
297
298 <listitem>
299 <para><emphasis role="bold">USB.</emphasis> VirtualBox emulates two
300 USB host controllers, EHCI and OHCI. There is a need for two host
301 controllers because OHCI only handles USB low- and full-speed
302 devices (both USB 1.x and 2.0), while EHCI only handles high-speed
303 devices (USB 2.0 only). The emulated USB controllers do not
304 communicate directly with devices on the host but rather with a
305 virtual USB layer which abstracts the USB protocol and allows the
306 use of remote USB devices.</para>
307 </listitem>
308
309 <listitem>
310 <para><emphasis role="bold">Audio.</emphasis> See <xref
311 linkend="settings-audio" />.</para>
312 </listitem>
313 </itemizedlist></para>
314 </sect1>
315
316 <sect1 id="generalsettings">
317 <title>General settings</title>
318
319 <para>In the Settings window, under "General", you can configure the most
320 fundamental aspects of the virtual machine such as memory and essential
321 hardware. There are three tabs, "Basic", "Advanced" and
322 "Description".</para>
323
324 <sect2>
325 <title>"Basic" tab</title>
326
327 <para>Under the "Basic" tab of the "General" settings category, you can
328 find these settings:</para>
329
330 <glosslist>
331 <glossentry>
332 <glossterm>Name</glossterm>
333
334 <glossdef>
335 <para>The name under which the VM is shown in the list of VMs in
336 the main window. Under this name, VirtualBox also saves the VM's
337 configuration files. By changing the name, VirtualBox renames
338 these files as well. As a result, you can only use characters
339 which are allowed in your host operating system's file
340 names.</para>
341
342 <para>Note that internally, VirtualBox uses unique identifiers
343 (UUIDs) to identify virtual machines. You can display these with
344 <computeroutput>VBoxManage</computeroutput>.</para>
345 </glossdef>
346 </glossentry>
347
348 <glossentry>
349 <glossterm>Operating system / version</glossterm>
350
351 <glossdef>
352 <para>The type of the guest operating system that is (or will be)
353 installed in the VM. This is the same setting that was specified
354 in the "New Virtual Machine" wizard, as described in <xref
355 linkend="gui-createvm" />. </para>
356
357 <para>Whereas the default settings of a newly created VM depend on
358 the selected operating system type, changing the type later has no
359 effect on VM settings; this value is then purely informational and
360 decorative.</para>
361 </glossdef>
362 </glossentry>
363 </glosslist>
364 </sect2>
365
366 <sect2 id="settings-general-advanced">
367 <title>"Advanced" tab</title>
368
369 <para><glosslist>
370 <glossentry>
371 <glossterm>Snapshot folder</glossterm>
372
373 <glossdef>
374 <para>By default, VirtualBox saves snapshot data together with
375 your other VirtualBox configuration data; see <xref
376 linkend="vboxconfigdata" />. With this setting, you can specify
377 any other folder for each VM.</para>
378 </glossdef>
379 </glossentry>
380
381 <glossentry>
382 <glossterm>Shared clipboard</glossterm>
383
384 <glossdef>
385 <para>You can select here whether the clipboard of the guest
386 operating system should be shared with that of your host. If you
387 select "Bidirectional", then VirtualBox will always make sure
388 that both clipboards contain the same data. If you select "Host
389 to guest" or "Guest to host", then VirtualBox will only ever
390 copy clipboard data in one direction.</para>
391
392 <para>Clipboard sharing requires that the VirtualBox Guest
393 Additions be installed. As a result, this setting has no effect
394 otherwise; see <xref linkend="guestadditions" /> for
395 details.</para>
396 </glossdef>
397 </glossentry>
398
399 <glossentry>
400 <glossterm>Removable media: remember runtime changes</glossterm>
401
402 <glossdef>
403 <para>If this is checked, VirtualBox will save the state of what
404 media has been mounted between several runs of a virtual
405 machine.</para>
406 </glossdef>
407 </glossentry>
408
409 <glossentry>
410 <glossterm>Mini toolbar</glossterm>
411
412 <glossdef>
413 <para>In full screen or seamless mode, VirtualBox can display a
414 small toolbar that contains some of the items that are normally
415 available from the virtual machine's menu bar. This toolbar
416 reduces itself to a small gray line unless you move the mouse
417 over it. With the toolbar, you can return from full screen or
418 seamless mode, control machine execution or enable certain
419 devices. If you don't want to see the toolbar, disable this
420 setting.</para>
421 </glossdef>
422 </glossentry>
423 </glosslist></para>
424 </sect2>
425
426 <sect2>
427 <title>"Description" tab</title>
428
429 <para>Here you can enter any description for your virtual machine, if
430 you want. This has no effect on the functionality of the machine, but
431 you may find this space useful to note down things like the
432 configuration of a virtual machine and the software that has been
433 installed into it.</para>
434 </sect2>
435 </sect1>
436
437 <sect1 id="settings-system">
438 <title>System settings</title>
439
440 <para>The "System" category groups various settings that are related to
441 the basic hardware that is presented to the virtual machine.<note>
442 <para>As the activation mechanism of Microsoft Windows is sensitive to
443 hardware changes, if you are changing hardware settings for a Windows
444 guest, some of these changes may trigger a request for another
445 activation with Microsoft.</para>
446 </note></para>
447
448 <sect2 id="settings-motherboard">
449 <title>"Motherboard" tab</title>
450
451 <para>On the "Motherboard" tab, you can influence virtual hardware that
452 would normally be on the motherboard of a real computer.<glosslist>
453 <glossentry>
454 <glossterm>Base memory</glossterm>
455
456 <glossdef>
457 <para>This sets the amount of RAM that is allocated and given to
458 the VM when it is running. The specified amount of memory will
459 be requested from the host operating system, so it must be
460 available or made available as free memory on the host when
461 attempting to start the VM and will not be available to the host
462 while the VM is running. This is the same setting that was
463 specified in the "New Virtual Machine" wizard, as described with
464 guidelines under <xref linkend="gui-createvm" /> above.</para>
465
466 <para>Generally, it is possible to change the memory size after
467 installing the guest operating system (provided you do not
468 reduce the memory to an amount where the operating system would
469 no longer boot).</para>
470 </glossdef>
471 </glossentry>
472
473 <glossentry>
474 <glossterm>Boot order</glossterm>
475
476 <glossdef>
477 <para>This setting determines the order in which the guest
478 operating system will attempt to boot from the various virtual
479 boot devices. Analogous to a real PC's BIOS setting, VirtualBox
480 can tell a guest OS to start from the virtual floppy, the
481 virtual CD/DVD drive, the virtual hard drive (each of these as
482 defined by the other VM settings), the network, or none of
483 these.</para>
484
485 <para>If you select "Network", the VM will attempt to boot from
486 a network via the PXE mechanism. This needs to be configured in
487 detail on the command line; please see <xref
488 linkend="vboxmanage-modifyvm" />.</para>
489 </glossdef>
490 </glossentry>
491
492 <glossentry>
493 <glossterm>Chipset</glossterm>
494
495 <glossdef>
496 <para>Here you can select which chipset will be presented to the
497 virtual machine. Before VirtualBox 4.0, PIIX3 was the only
498 available option here. For modern guest operating systems such
499 as Mac OS X server, that old chipset is no longer well
500 supported. As a result, VirtualBox 4.0 introduced an emulation
501 of the more modern ICH9 chipset, which supports PCI express,
502 three PCI buses, PCI-to-PCI bridges and Message Signalled
503 Interrupts (MSI). This allows modern operating systems to
504 address more PCI devices and no longer requires IRQ
505 sharing.</para>
506 </glossdef>
507 </glossentry>
508
509 <glossentry>
510 <glossterm>Enable I/O APIC</glossterm>
511
512 <glossdef>
513 <para>Advanced Programmable Interrupt Controllers (APICs) are a
514 newer x86 hardware feature that have replaced old-style
515 Programmable Interrupt Controllers (PICs) in recent years. With
516 an I/O APIC, operating systems can use more than 16 interrupt
517 requests (IRQs) and therefore avoid IRQ sharing for improved
518 reliability.<note>
519 <para>Enabling the I/O APIC is <emphasis>required</emphasis>
520 for 64-bit guest operating systems, especially Windows
521 Vista; it is also required if you want to use more than one
522 virtual CPU in a virtual machine.</para>
523 </note></para>
524
525 <para>However, software support for I/O APICs has been
526 unreliable with some operating systems other than Windows. Also,
527 the use of an I/O APIC slightly increases the overhead of
528 virtualization and therefore slows down the guest OS a
529 little.<warning>
530 <para>All Windows operating systems starting with Windows
531 2000 install different kernels depending on whether an I/O
532 APIC is available. As with ACPI, the I/O APIC therefore
533 <emphasis>must not be turned off after
534 installation</emphasis> of a Windows guest OS. Turning it on
535 after installation will have no effect however.</para>
536 </warning></para>
537 </glossdef>
538 </glossentry>
539
540 <glossentry>
541 <glossterm>Enable EFI</glossterm>
542
543 <glossdef>
544 <para>This enables Extensible Firmware Interface (EFI), which
545 replaces the legacy BIOS, which may be useful for certain
546 advanced use cases. Please refer to <xref linkend="efi" /> for
547 details.</para>
548 </glossdef>
549 </glossentry>
550
551 <glossentry>
552 <glossterm>Hardware clock in UTC time</glossterm>
553
554 <glossdef>
555 <para>If checked, VirtualBox will report the system time in UTC
556 format to the guest instead of local (host) time. This affects
557 how the virtual real-time clock (RTC) operates and may be useful
558 for Unix-like guest operating systems, which typically expect
559 the hardware clock to be set to UTC.</para>
560 </glossdef>
561 </glossentry>
562
563 <glossentry>
564 <glossterm>Enable absolute pointing device</glossterm>
565
566 <glossdef>
567 <para>If enabled, VirtualBox reports to the virtual machine that
568 a USB tablet device is present and communicates mouse events to
569 the virtual machine through this device. If disabled, mouse
570 events are communicated through a traditional PS/2 virtual mouse
571 device.</para>
572
573 <para>Using the virtual USB tablet has the advantage that
574 movements are reported in absolute coordinates (instead of as
575 relative position changes), which allows VirtualBox to translate
576 mouse events over the VM window into tablet events without
577 having to "capture" the mouse in the guest as described in <xref
578 linkend="keyb_mouse_normal" />. This makes using the VM less
579 tedious even if Guest Additions are not installed.<footnote>
580 <para>The virtual USB tablet was added with VirtualBox 3.2.
581 Depending on the guest operating system selected, this is
582 now enabled by default for new virtual machines.</para>
583 </footnote></para>
584 </glossdef>
585 </glossentry>
586 </glosslist></para>
587
588 <para>In addition, you can turn off the <emphasis role="bold">Advanced
589 Configuration and Power Interface (ACPI)</emphasis> which VirtualBox
590 presents to the guest operating system by default. ACPI is the current
591 industry standard to allow operating systems to recognize hardware,
592 configure motherboards and other devices and manage power. As all modern
593 PCs contain this feature and Windows and Linux have been supporting it
594 for years, it is also enabled by default in VirtualBox. It can only be
595 turned off on the command line; see <xref
596 linkend="vboxmanage-modifyvm" />.<warning>
597 <para>All Windows operating systems starting with Windows 2000
598 install different kernels depending on whether ACPI is available, so
599 ACPI <emphasis>must not be turned off</emphasis> after installation
600 of a Windows guest OS. Turning it on after installation will have no
601 effect however.</para>
602 </warning></para>
603 </sect2>
604
605 <sect2 id="settings-processor">
606 <title>"Processor" tab</title>
607
608 <para>On the "Processor" tab, you can set how many virtual <emphasis
609 role="bold">CPU cores</emphasis> the guest operating systems should see.
610 Starting with version 3.0, VirtualBox supports symmetrical
611 multiprocessing (SMP) and can present up to 32 virtual CPU cores to each
612 virtual machine.</para>
613
614 <para>You should not, however, configure virtual machines to use more
615 CPU cores than you have available physically.</para>
616
617 <para>In addition, the <emphasis role="bold">"Enable PAE/NX"</emphasis>
618 setting determines whether the PAE and NX capabilities of the host CPU
619 will be exposed to the virtual machine. PAE stands for "Physical Address
620 Extension". Normally, if enabled and supported by the operating system,
621 then even a 32-bit x86 CPU can access more than 4 GB of RAM. This is
622 made possible by adding another 4 bits to memory addresses, so that with
623 36 bits, up to 64 GB can be addressed. Some operating systems (such as
624 Ubuntu Server) require PAE support from the CPU and cannot be run in a
625 virtual machine without it.</para>
626
627 <para>With virtual machines running modern server operating systems,
628 VirtualBox also supports CPU hot-plugging. For details about this,
629 please refer to <xref linkend="cpuhotplug" />.</para>
630 </sect2>
631
632 <sect2>
633 <title>"Acceleration" tab</title>
634
635 <para>On this page, you can determine whether and how VirtualBox should
636 use hardware virtualization extensions that your host CPU may support.
637 This is the case with most CPUs built after 2006.</para>
638
639 <para>You can select for each virtual machine individually whether
640 VirtualBox should use software or hardware virtualization.<footnote>
641 <para>Prior to VirtualBox version 2.2, software virtualization was
642 the default; starting with version 2.2, VirtualBox will enable
643 hardware virtualization by default for new virtual machines that you
644 create. (Existing virtual machines are not automatically changed for
645 compatibility reasons, and the default can of course be changed for
646 each virtual machine.)</para>
647 </footnote></para>
648
649 <para>In most cases, the default settings will be fine; VirtualBox will
650 have picked sensible defaults depending on the operating system that you
651 selected when you created the virtual machine. In certain situations,
652 however, you may want to change these preconfigured defaults.</para>
653
654 <para>Advanced users may be interested in technical details about
655 software vs. hardware virtualization; please see <xref
656 linkend="hwvirt" />.</para>
657
658 <para>If your host's CPU supports the <emphasis role="bold">nested
659 paging</emphasis> (AMD-V) or <emphasis role="bold">EPT</emphasis> (Intel
660 VT-x) features, then you can expect a significant performance increase
661 by enabling nested paging in addition to hardware virtualization. For
662 technical details, see <xref linkend="nestedpaging" />.</para>
663 </sect2>
664 </sect1>
665
666 <sect1 id="settings-display">
667 <title>Display settings</title>
668
669 <glosslist>
670 <glossentry>
671 <glossterm>Video memory size</glossterm>
672
673 <glossdef>
674 <para>This sets the size of the memory provided by the virtual
675 graphics card available to the guest, in MB. As with the main
676 memory, the specified amount will be allocated from the host's
677 resident memory. Based on the amount of video memory, higher
678 resolutions and color depths may be available.</para>
679 </glossdef>
680 </glossentry>
681
682 <glossentry>
683 <glossterm>Monitor count</glossterm>
684
685 <glossdef>
686 <para>With this setting VirtualBox can provide more than one virtual
687 monitor to a virtual machine. If a guest operating system (such as
688 Windows) supports multiple attached monitors, VirtualBox can pretend
689 that multiple virtual monitors are present.<footnote>
690 <para>Multiple monitor support was added with VirtualBox
691 3.2.</para>
692 </footnote> Up to 8 such virtual monitors are supported.</para>
693
694 <para>The output of the multiple monitors will be displayed on the
695 host in multiple VM windows which are running side by side.</para>
696
697 <para>However, in fullscreen and seamless mode, they will use the
698 available physical monitors attached to the host. As a result, for
699 fullscreen and seamless modes to work with multiple monitors, you
700 will need at least as many physical monitors as you have virtual
701 monitors configured, or VirtualBox will report an error. You can
702 configure the relationship between guest and host monitors using the
703 view menu by pressing Host key + Home when you are in fullscreen or
704 seamless mode.</para>
705
706 <para>Please see <xref linkend="KnownIssues" /> also.</para>
707 </glossdef>
708 </glossentry>
709
710 <glossentry>
711 <glossterm>Enable 3D acceleration</glossterm>
712
713 <glossdef>
714 <para>If a virtual machine has Guest Additions installed, you can
715 select here whether the guest should support accelerated 3D
716 graphics. Please refer to <xref linkend="guestadd-3d" /> for
717 details.</para>
718 </glossdef>
719 </glossentry>
720
721 <glossentry>
722 <glossterm>Enable 2D video acceleration</glossterm>
723
724 <glossdef>
725 <para>If a virtual machine with Microsoft Windows has Guest
726 Additions installed, you can select here whether the guest should
727 support accelerated 2D video graphics. Please refer to <xref
728 linkend="guestadd-2d" /> for details.</para>
729 </glossdef>
730 </glossentry>
731
732 <glossentry>
733 <glossterm>Remote display</glossterm>
734
735 <glossdef>
736 <para>Under the "Remote display" tab, if the VirtualBox Remote
737 Display Extension (VRDE) is installed, you can enable the RDP server
738 that is built into VirtualBox. This allows you to connect to the
739 virtual machine remotely with any standard RDP viewer, such as
740 <computeroutput>mstsc.exe</computeroutput> that comes with Microsoft
741 Windows or, on Linux systems, the standard open-source
742 <computeroutput>rdesktop</computeroutput> program. These features
743 are described in detail in <xref linkend="vrdp" />.</para>
744 </glossdef>
745 </glossentry>
746 </glosslist>
747 </sect1>
748
749 <sect1 id="settings-storage">
750 <title>Storage settings</title>
751
752 <para>In the VM Settings window, the "Storage" section allows you to
753 connect virtual hard disk, CD/DVD and floppy images and drives to your
754 virtual machine:<mediaobject>
755 <imageobject>
756 <imagedata align="center" fileref="images/vm-settings-harddisk.png"
757 width="10cm" />
758 </imageobject>
759 </mediaobject></para>
760
761 <para>In a real PC, so-called "storage controllers" connect physical disk
762 drives to the rest of the computer. Similarly, VirtualBox presents virtual
763 storage controllers to a virtual machine. Under each controller, the
764 virtual devices (hard disks, CD/DVD or floppy drives) are shown that are
765 attached to the controller.</para>
766
767 <para>If you have used the "Create VM" wizard to create a machine, you
768 will normally see the following devices:<itemizedlist>
769 <listitem>
770 <para>You will see an IDE controller, under which there are two
771 devices:<itemizedlist>
772 <listitem>
773 <para>one virtual hard disk connected to the IDE slot called
774 "primary master"; this is represented by the disk images that
775 you created with the machine;</para>
776 </listitem>
777
778 <listitem>
779 <para>one virtual CD/DVD drive connected to the "secondary
780 master".</para>
781 </listitem>
782 </itemizedlist></para>
783 </listitem>
784
785 <listitem>
786 <para>In addition, there is a floppy controller to which a virtual
787 floppy drive is attached.</para>
788 </listitem>
789 </itemizedlist></para>
790
791 <para>You can modify these media attachments freely. For example, if you
792 wish to copy some files from another virtual disk that you created, you
793 can connect that disk as a second hard disk. You could also add a second
794 virtual CD/DVD drive, or change where these items are attached.</para>
795
796 <para>In addition to the IDE controller, VirtualBox can also present a
797 SATA controller and a SCSI controller to the guest, which gives you 30 or
798 16 additional slots to attach devices to, respectively. This, however, may
799 require that you run a modern guest operating system. See <xref
800 linkend="harddiskcontrollers" /> for details.</para>
801
802 <para>To <emphasis role="bold">add another virtual hard disk or CD/DVD
803 drive,</emphasis> select the storage controller to which it should be
804 added (IDE, SATA or SCSI) and then click on the "add disk" button below
805 the tree. You can then either select "Add CD/DVD device" or "Add Hard
806 Disk". Alternatively, right-click on the storage controller and select a
807 menu item there.</para>
808
809 <para>On the right part of the window, you can then select to which slot
810 of the controller the virtual disk should be connected to and which image
811 file to use.<itemizedlist>
812 <listitem>
813 <para>For virtual hard disks, a drop-down list appears on the right,
814 listing all the hard disk images that VirtualBox currently knows
815 about.</para>
816
817 <para>The folder icon next to the drop-down allow you to select a
818 different disk image using a standard file dialog.</para>
819
820 <para>The second icon next to the drop-down allows you to create a
821 new disk image; this will bring up the "Create new disk" wizard,
822 which was described in <xref linkend="gui-createvm" />.</para>
823 </listitem>
824
825 <listitem>
826 <para>For virtual CD/DVD drives, there are two kinds of options in
827 the drop-down list.<itemizedlist>
828 <listitem>
829 <para>If you select "Empty", then VirtualBox will present a
830 virtual CD/DVD drive to the guest which has no media
831 inserted.</para>
832 </listitem>
833
834 <listitem>
835 <para>If you select "Host drive" from the list, then the
836 physical device of the host computer is connected to the VM,
837 so that the guest operating system can read from and write to
838 your physical device. This is, for instance, useful if you
839 want to install Windows from a real installation CD. In this
840 case, select your host drive from the drop-down list
841 presented.</para>
842
843 <para>If you want to write (burn) CDs or DVDs using the host
844 drive, you need to enable the <emphasis
845 role="bold">"Passthrough"</emphasis> option; see <xref
846 linkend="storage-cds" />.</para>
847 </listitem>
848
849 <listitem>
850 <para>The other items in the list, like virtual hard disk
851 images, will be image files on your host. The file format here
852 is the ISO format. Most commonly, you will select this option
853 when installing an operating system from an ISO file that you
854 have obtained from the Internet. For example, most Linux
855 distributions are available in this way.</para>
856 </listitem>
857 </itemizedlist></para>
858
859 <note>
860 <para>The identification string of the drive provided to the guest
861 (which, in the guest, would be displayed by configuration tools
862 such as the Windows Device Manager) is always "VBOX CD-ROM",
863 irrespective of the current configuration of the virtual drive.
864 This is to prevent hardware detection from being triggered in the
865 guest operating system every time the configuration is
866 changed.</para>
867 </note>
868 </listitem>
869 </itemizedlist></para>
870
871 <para>Note that the floppy controller is special: you cannot add devices
872 other than floppy drives to it. Virtual floppy drives, like virtual CD/DVD
873 drives, can be connected to either a host floppy drive (if you have one)
874 or a disk image, which in this case must be in RAW format.</para>
875
876 <para>To <emphasis role="bold">remove a virtual disk or drive,</emphasis>
877 select it and click on the "remove" icon at the bottom (or right-click on
878 it and select the menu item).</para>
879
880 <para>Removable media (CD/DVDs and floppies) can be changed while the
881 guest is running. Since the "Settings" dialog is not available at that
882 time, you can also access these settings from the "Devices" menu of your
883 virtual machine window.</para>
884
885 <para>We have dedicated an entire chapter of this User Manual to virtual
886 storage: please see <xref linkend="storage" /> for every single detail
887 about storage configuration.</para>
888 </sect1>
889
890 <sect1 id="settings-audio">
891 <title>Audio settings</title>
892
893 <para>The "Audio" section in a virtual machine's Settings window
894 determines whether the VM will see a sound card connected, and whether the
895 audio output should be heard on the host system.</para>
896
897 <para>If audio is enabled for a guest, you can choose between the
898 emulation of an Intel AC'97 controller, an Intel HD Audio
899 controller<footnote>
900 <para>Intel HD Audio support was added with VirtualBox 4.0 because
901 Windows 7 (32-bit and 64-bit versions) as well as 64-bit Windows Vista
902 do not support the Intel AC'97 controller.</para>
903 </footnote> or a SoundBlaster 16 card. In any case, you can select what
904 audio driver VirtualBox will use on the host.</para>
905
906 <para>On a Linux host, depending on your host configuration, you can also
907 select between the OSS, ALSA or the PulseAudio subsystem. On newer Linux
908 distributions (Fedora 8 and above, Ubuntu 8.04 and above) the PulseAudio
909 subsystem should be preferred.</para>
910 </sect1>
911
912 <sect1 id="settings-network">
913 <title>Network settings</title>
914
915 <para>The "Network" section in a virtual machine's Settings window allows
916 you to configure how VirtualBox presents virtual network cards to your VM,
917 and how they operate.</para>
918
919 <para>When you first create a virtual machine, VirtualBox by default
920 enables one virtual network card and selects the "Network Address
921 Translation" (NAT) mode for it. This way the guest can connect to the
922 outside world using the host's networking and the outside world can
923 connect to services on the guest which you choose to make visible outside
924 of the virtual machine. In most cases, this default setup will work fine
925 for you.</para>
926
927 <para>However, VirtualBox is extremely flexible in how it can virtualize
928 networking. It supports up to eight virtual network cards per virtual
929 machine, the first four of which can be configured in detail in the
930 graphical user interface. All eight network cards can be configured on the
931 command line with VBoxManage. Because of this, we have dedicated an entire
932 chapter of this manual to discussing networking configuration; please see
933 <xref linkend="networkingdetails" />.</para>
934 </sect1>
935
936 <sect1 id="serialports">
937 <title>Serial ports</title>
938
939 <para>VirtualBox fully supports virtual serial ports in a virtual machine
940 in an easy-to-use manner.<footnote>
941 <para>Serial port support was added with VirtualBox 1.5.</para>
942 </footnote></para>
943
944 <para>Ever since the original IBM PC, personal computers have been
945 equipped with one or two serial ports (also called COM ports by DOS and
946 Windows). While these are no longer as important as they were until a few
947 years ago (especially since mice are no longer connected to serial ports
948 these days), there are still some important uses left for them. For
949 example, serial ports can be used to set up a primitive network over a
950 null-modem cable, in case Ethernet is not available. Also, serial ports
951 are indispensable for system programmers needing to do kernel debugging,
952 since kernel debugging software usually interacts with developers over a
953 serial port. In other words, with virtual serial ports, system programmers
954 can do kernel debugging on a virtual machine instead of needing a real
955 computer to connect to.</para>
956
957 <para>If a virtual serial port is enabled, the guest operating system sees
958 it a standard 16450-type serial port. Both receiving and transmitting data
959 is supported. How this virtual serial port is then connected to the host
960 is configurable, and details depend on your host operating system.</para>
961
962 <para>You can use either the graphical user interface or the command-line
963 <computeroutput>VBoxManage</computeroutput> tool to set up virtual serial
964 ports. For the latter, please refer to <xref
965 linkend="vboxmanage-modifyvm" />; in that section, look for the
966 <computeroutput>--uart</computeroutput> and
967 <computeroutput>--uartmode</computeroutput> options.</para>
968
969 <para>In either case, you can configure up to two virtual serial ports
970 simultaneously. For each such device, you will need to
971 determine<orderedlist>
972 <listitem>
973 <para>what kind of serial port the virtual machine should see by
974 selecting an I/O base address and interrupt (IRQ). For these, we
975 recommend to use the traditional values<footnote>
976 <para>See, for example, <ulink
977 url="http://en.wikipedia.org/wiki/COM_(hardware_interface)">http://en.wikipedia.org/wiki/COM_(hardware_interface)</ulink>.</para>
978 </footnote>, which are:</para>
979
980 <para><orderedlist>
981 <listitem>
982 <para>COM1: I/O base 0x3F8, IRQ 4</para>
983 </listitem>
984
985 <listitem>
986 <para>COM2: I/O base 0x2F8, IRQ 3</para>
987 </listitem>
988
989 <listitem>
990 <para>COM3: I/O base 0x3E8, IRQ 4</para>
991 </listitem>
992
993 <listitem>
994 <para>COM4: I/O base 0x2E8, IRQ 3</para>
995 </listitem>
996 </orderedlist></para>
997 </listitem>
998
999 <listitem>
1000 <para>Then, you will need to determine what this virtual port should
1001 be connected to. For each virtual serial port, you have the
1002 following options:</para>
1003
1004 <para><itemizedlist>
1005 <listitem>
1006 <para>You can elect to have the virtual serial port
1007 "disconnected", which means that the guest will see it as
1008 hardware, but it will behave as if no cable had been connected
1009 to it.</para>
1010 </listitem>
1011
1012 <listitem>
1013 <para>You can connect the virtual serial port to a physical
1014 serial port on your host. (On a Windows host, this will be a
1015 name like <computeroutput>COM1</computeroutput>; on Linux or
1016 OpenSolaris hosts, it will be a device node like
1017 <computeroutput>/dev/ttyS0</computeroutput>). VirtualBox will
1018 then simply redirect all data received from and sent to the
1019 virtual serial port to the physical device.</para>
1020 </listitem>
1021
1022 <listitem>
1023 <para>You can tell VirtualBox to connect the virtual serial
1024 port to a software pipe on the host. This depends on your host
1025 operating system:<itemizedlist>
1026 <listitem>
1027 <para>On a Windows host, data will be sent and received
1028 through a named pipe. You can use a helper program
1029 called VMware Serial Line Gateway, available for
1030 download at <literal> <ulink
1031 url="http://www.l4ka.org/tools/vmwaregateway.php">http://www.l4ka.org/tools/vmwaregateway.php</ulink>
1032 </literal>. This tool provides a fixed server mode named
1033 pipe at
1034 <computeroutput>\\.\pipe\vmwaredebug</computeroutput>
1035 and connects incoming TCP connections on port 567 with
1036 the named pipe.</para>
1037 </listitem>
1038
1039 <listitem>
1040 <para>On a Mac, Linux or OpenSolaris host, a local
1041 domain socket is used instead. On Linux there are
1042 various tools which can connect to a local domain socket
1043 or create one in server mode. The most flexible tool is
1044 <computeroutput>socat</computeroutput> and is available
1045 as part of many distributions.</para>
1046 </listitem>
1047 </itemizedlist></para>
1048
1049 <para>In this case, you can configure whether VirtualBox
1050 should create the named pipe (or, on non-Windows hosts, the
1051 local domain socket) itself or whether VirtualBox should
1052 assume that the pipe (or socket) exists already. With the
1053 <computeroutput>VBoxManage</computeroutput> command-line
1054 options, this is referred to as "server" or "client" mode,
1055 respectively.</para>
1056 </listitem>
1057 </itemizedlist></para>
1058 </listitem>
1059 </orderedlist>Up to two serial ports can be configured simultaneously
1060 per virtual machine, but you can pick any port numbers out of the above.
1061 For example, you can configure two serial ports to be able to work with
1062 COM2 and COM4 in the guest.</para>
1063 </sect1>
1064
1065 <sect1>
1066 <title>USB support</title>
1067
1068 <sect2 id="settings-usb">
1069 <title>USB settings</title>
1070
1071 <para>The "USB" section in a virtual machine's Settings window allows
1072 you to configure VirtualBox's sophisticated USB support.</para>
1073
1074 <para>VirtualBox can allow virtual machines to access the USB devices on
1075 your host directly. To achieve this, VirtualBox presents the guest
1076 operating system with a virtual USB controller. As soon as the guest
1077 system starts using a USB device, it will appear as unavailable on the
1078 host.<note>
1079 <orderedlist>
1080 <listitem>
1081 <para>Be careful with USB devices that are currently in use on
1082 the host! For example, if you allow your guest to connect to
1083 your USB hard disk that is currently mounted on the host, when
1084 the guest is activated, it will be disconnected from the host
1085 without a proper shutdown. This may cause data loss.</para>
1086 </listitem>
1087
1088 <listitem>
1089 <para>Solaris hosts have a few known limitations regarding USB
1090 support; please see <xref linkend="KnownIssues" />.</para>
1091 </listitem>
1092 </orderedlist>
1093 </note></para>
1094
1095 <para>In addition to allowing a guest access to your local USB devices,
1096 VirtualBox even allows your guests to connect to remote USB devices by
1097 use of the VirtualBox Remote Desktop Extension (VRDE). For details about
1098 this, see <xref linkend="usb-over-rdp" />.</para>
1099
1100 <para>In the Settings dialog, you can first configure whether USB is
1101 available in the guest at all, and in addition also optionally enable
1102 the USB 2.0 (EHCI) controller for the guest. If so, you can determine in
1103 detail which devices are available. For this, you must create so-called
1104 "filters" by specifying certain properties of the USB device.<note>
1105 <para>The EHCI controller is shipped as a VirtualBox extension
1106 package, which must be installed separately. See <xref
1107 linkend="intro-installing" /> for more information.</para>
1108 </note></para>
1109
1110 <para>Clicking on the "+" button to the right of the "USB Device
1111 Filters" window creates a <emphasis role="bold">new filter.</emphasis>
1112 You can give the filter a name (for referencing it later) and specify
1113 the filter criteria. The more criteria you specify, the more precisely
1114 devices will be selected. For instance, if you specify only a vendor ID
1115 of 046d, all devices produced by Logitech will be available to the
1116 guest. If you fill in all fields, on the other hand, the filter will
1117 only apply to a particular device model from a particular vendor, and
1118 not even to other devices of the same type with a different revision and
1119 serial number.</para>
1120
1121 <para>In detail, the following criteria are available:</para>
1122
1123 <orderedlist>
1124 <listitem>
1125 <para><emphasis role="bold">Vendor and product ID.</emphasis> With
1126 USB, each vendor of USB products carries an identification number
1127 that is unique world-wide, the "vendor ID". Similarly, each line of
1128 products is assigned a "product ID" number. Both numbers are
1129 commonly written in hexadecimal (that is, they are composed of the
1130 numbers 0-9 and the letters A-F), and a colon separates the vendor
1131 from the product ID. For example,
1132 <computeroutput>046d:c016</computeroutput> stands for Logitech as a
1133 vendor, and the "M-UV69a Optical Wheel Mouse" product.</para>
1134
1135 <para>Alternatively, you can also specify <emphasis
1136 role="bold">"Manufacturer"</emphasis> and <emphasis
1137 role="bold">"Product"</emphasis> by name.</para>
1138
1139 <para>To list all the USB devices that are connected to your host
1140 machine with their respective vendor and product IDs, you can use
1141 the following command (see <xref linkend="vboxmanage" />): <screen>VBoxManage list usbhost</screen></para>
1142
1143 <para>On Windows, you can also see all USB devices that are attached
1144 to your system in the Device Manager. On Linux, you can use the
1145 <computeroutput>lsusb</computeroutput> command.</para>
1146 </listitem>
1147
1148 <listitem>
1149 <para><emphasis role="bold">Serial number.</emphasis> While vendor
1150 and product ID are already quite specific to identify USB devices,
1151 if you have two identical devices of the same brand and product
1152 line, you will also need their serial numbers to filter them out
1153 correctly.</para>
1154 </listitem>
1155
1156 <listitem>
1157 <para><emphasis role="bold">Remote.</emphasis> This setting
1158 specifies whether the device will be local only, or remote only
1159 (over VRDP), or either.</para>
1160 </listitem>
1161 </orderedlist>
1162
1163 <para>On a Windows host, you will need to unplug and reconnect a USB
1164 device to use it after creating a filter for it.</para>
1165
1166 <para>As an example, you could create a new USB filter and specify a
1167 vendor ID of 046d (Logitech, Inc), a manufacturer index of 1, and "not
1168 remote". Then any USB devices on the host system produced by Logitech,
1169 Inc with a manufacturer index of 1 will be visible to the guest
1170 system.</para>
1171
1172 <para>Several filters can select a single device -- for example, a
1173 filter which selects all Logitech devices, and one which selects a
1174 particular webcam.</para>
1175
1176 <para>You can <emphasis role="bold">deactivate</emphasis> filters
1177 without deleting them by clicking in the checkbox next to the filter
1178 name.</para>
1179 </sect2>
1180
1181 <sect2>
1182 <title>Implementation notes for Windows and Linux hosts</title>
1183
1184 <para>On Windows hosts, a kernel mode device driver provides USB proxy
1185 support. It implements both a USB monitor, which allows VirtualBox to
1186 capture devices when they are plugged in, and a USB device driver to
1187 claim USB devices for a particular virtual machine. As opposed to
1188 VirtualBox versions before 1.4.0, system reboots are no longer necessary
1189 after installing the driver. Also, you no longer need to replug devices
1190 for VirtualBox to claim them.</para>
1191
1192 <para>On newer Linux hosts, VirtualBox accesses USB devices through
1193 special files in the file system. When VirtualBox is installed, these
1194 are made available to all users in the
1195 <computeroutput>vboxusers</computeroutput> system group. In order to be
1196 able to access USB from guest systems, make sure that you are a member
1197 of this group.</para>
1198
1199 <para>On older Linux hosts, USB devices are accessed using the
1200 <computeroutput>usbfs</computeroutput> file system. Therefore, the user
1201 executing VirtualBox needs read and write permission to the USB file
1202 system. Most distributions provide a group (e.g.
1203 <computeroutput>usbusers</computeroutput>) which the VirtualBox user
1204 needs to be added to. Also, VirtualBox can only proxy to virtual
1205 machines USB devices which are not claimed by a Linux host USB driver.
1206 The <computeroutput>Driver=</computeroutput> entry in
1207 <computeroutput>/proc/bus/usb/devices</computeroutput> will show you
1208 which devices are currently claimed. Please refer to <xref
1209 linkend="usb_linux" /> also for details about
1210 <computeroutput>usbfs</computeroutput>.</para>
1211 </sect2>
1212 </sect1>
1213
1214 <sect1>
1215 <title>Shared folders</title>
1216
1217 <para>Shared folders allow you to easily exchange data between a virtual
1218 machine and your host. This feature requires that the VirtualBox Guest
1219 Additions be installed in a virtual machine and is described in detail in
1220 <xref linkend="sharedfolders" />.</para>
1221 </sect1>
1222
1223 <sect1 id="efi">
1224 <title>Alternative firmware (EFI)</title>
1225
1226 <para>Starting with release 3.1, VirtualBox includes experimental support
1227 for the Extensible Firmware Interface (EFI), which is a new industry
1228 standard intended to eventually replace the legacy BIOS as the primary
1229 interface for bootstrapping computers and certain system services
1230 later.</para>
1231
1232 <para>By default, VirtualBox uses the BIOS firmware for virtual machines.
1233 To use EFI for a given virtual machine, you can enable EFI in the
1234 machine's "Settings" dialog (see <xref linkend="settings-motherboard" />).
1235 Alternatively, use the <computeroutput>VBoxManage</computeroutput> command
1236 line interface like this: <screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
1237 To switch back to using the BIOS, use: <screen>VBoxManage modifyvm "VM name" --firmware bios</screen>One
1238 notable user of EFI is Apple's Mac OS X, but recent Linuxes (such as
1239 Fedora 11) and Windows (starting with Vista) can be booted using EFI as
1240 well.</para>
1241
1242 <para>Another possible use of EFI in VirtualBox is development and testing
1243 of EFI applications, without booting any OS.</para>
1244
1245 <para>Note that the VirtualBox EFI support is experimental and will be
1246 enhanced as EFI matures and becomes more widespread. While Mac OS X and
1247 Linux guests are known to work fine, Windows guests are currently unable
1248 to boot using EFI.</para>
1249
1250 <sect2 id="efividmode">
1251 <title>Video modes in EFI</title>
1252
1253 <para>EFI provides two distinct video interfaces: GOP (Graphics Output
1254 Protocol) and UGA (Universal Graphics Adapter). Mac OS X uses GOP, while
1255 Linux tends to use UGA. VirtualBox provides a configuration option to
1256 control the framebuffer size for both interfaces.</para>
1257
1258 <para>To control GOP, use the following
1259 <computeroutput>VBoxManage</computeroutput> command: <screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N</screen>
1260 Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600,
1261 1024x768, 1280x1024, 1440x900 screen resolution respectively.</para>
1262
1263 <para>To change the UGA resolution: <screen>VBoxManage setextradata "VM name" VBoxInternal2/UgaHorizontalResolution 1440
1264VBoxManage setextradata "VM name" VBoxInternal2/UgaVerticalResolution 900</screen></para>
1265
1266 <para>The video mode for both GOP and UGA can only be changed when the
1267 VM is powered off and remains persistent until changed.</para>
1268 </sect2>
1269 </sect1>
1270</chapter>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette