VirtualBox

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

Last change on this file since 35519 was 35232, checked in by vboxsync, 14 years ago

some corrections

File size: 59.9 KB
Line 
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 and 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 VRDP 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="vrde" />.</para>
744 </glossdef>
745 </glossentry>
746 </glosslist>
747 </sect1>
748
749 <sect1 id="settings-storage">
750 <title>Storage settings</title>
751
752 <para>The "Storage" category in the VM settings allows you to connect
753 virtual hard disk, CD/DVD and floppy images and drives to your virtual
754 machine.</para>
755
756 <para>In a real PC, so-called "storage controllers" connect physical disk
757 drives to the rest of the computer. Similarly, VirtualBox presents virtual
758 storage controllers to a virtual machine. Under each controller, the
759 virtual devices (hard disks, CD/DVD or floppy drives) attached to the
760 controller are shown.<note>
761 <para>This section can only give you a quick introduction to the
762 VirtualBox storage settings. Since VirtualBox gives you an enormous
763 wealth of options in this area, we have dedicated an entire chapter of
764 this User Manual to explaining all the details: please see <xref
765 linkend="storage" />.</para>
766 </note></para>
767
768 <para>If you have used the "Create VM" wizard to create a machine, you
769 will normally see something like the following:</para>
770
771 <para><mediaobject>
772 <imageobject>
773 <imagedata align="center" fileref="images/vm-settings-harddisk.png"
774 width="10cm" />
775 </imageobject>
776 </mediaobject></para>
777
778 <para>Depending on the guest operating system type that you selected when
779 you created the VM, the typical layout of storage devices in a new VM is
780 as follows:<itemizedlist>
781 <listitem>
782 <para>You will see an <emphasis role="bold">IDE
783 controller,</emphasis> to which a virtual CD/DVD drive has been
784 attached (to the "secondary master" port of the IDE
785 controller).</para>
786 </listitem>
787
788 <listitem>
789 <para>You will also see a <emphasis role="bold">SATA
790 controller,</emphasis> which is a more modern type of storage
791 controller for higher hard disk data throughput, to which the
792 virtual hard disks are attached. Initially you will normally have
793 one such virtual disk, but as you can see in the above screenshot,
794 you can have more than one, each represented by a disk image file
795 (VDI files, in this case).</para>
796 </listitem>
797 </itemizedlist></para>
798
799 <para>If you created your VM with an older version of VirtualBox, the
800 default storage layout may differ. You might then only have an IDE
801 controller to which both the CD/DVD drive and the hard disks have been
802 attached. This might also apply if you selected an older operating system
803 type when you created the VM. Since older operating systems do not support
804 SATA without additional drivers, VirtualBox will make sure that no such
805 devices are present initially. Please see <xref
806 linkend="harddiskcontrollers" /> for additional information.</para>
807
808 <para>VirtualBox also provides a <emphasis role="bold">floppy
809 controller</emphasis>, which is special: you cannot add devices other than
810 floppy drives to it. Virtual floppy drives, like virtual CD/DVD drives,
811 can be connected to either a host floppy drive (if you have one) or a disk
812 image, which in this case must be in RAW format.</para>
813
814 <para>You can modify these media attachments freely. For example, if you
815 wish to copy some files from another virtual disk that you created, you
816 can connect that disk as a second hard disk, as in the above screenshot.
817 You could also add a second virtual CD/DVD drive, or change where these
818 items are attached. The following options are available:<itemizedlist>
819 <listitem>
820 <para>To <emphasis role="bold">add another virtual hard disk, or a
821 CD/DVD or floppy drive,</emphasis> select the storage controller to
822 which it should be added (IDE, SATA, SCSI, SAS, floppy controller)
823 and then click on the "add disk" button below the tree. You can then
824 either select "Add CD/DVD device" or "Add Hard Disk". (If you
825 clicked on a floppy controller, you can add a floppy drive instead.)
826 Alternatively, right-click on the storage controller and select a
827 menu item there.</para>
828
829 <para>On the right part of the window, you can then set the
830 following:<orderedlist>
831 <listitem>
832 <para>You can then select to which <emphasis
833 role="bold">device slot</emphasis> of the controller the
834 virtual disk should be connected to. IDE controllers have four
835 slots which have traditionally been called "primary master",
836 "primary slave", "secondary master" and "secondary slave". By
837 contrast, SATA and SCSI controllers offer you up to 30 slots
838 to which virtual devices can be attached.</para>
839 </listitem>
840
841 <listitem>
842 <para>You can select which <emphasis role="bold">image
843 file</emphasis> to use.<itemizedlist>
844 <listitem>
845 <para>For virtual hard disks, a button with a drop-down
846 list appears on the right, offering you to either select
847 a <emphasis role="bold">virtual hard disk
848 file</emphasis> using a standard file dialog or to
849 <emphasis role="bold">create a new hard disk</emphasis>
850 (image file), which will bring up the "Create new disk"
851 wizard, which was described in <xref
852 linkend="gui-createvm" />.</para>
853
854 <para>For details on the image file types that are
855 supported, please see <xref
856 linkend="vdidetails" />.</para>
857 </listitem>
858
859 <listitem>
860 <para>For virtual CD/DVD drives, the image files will
861 typically be in the standard ISO format instead. Most
862 commonly, you will select this option when installing an
863 operating system from an ISO file that you have obtained
864 from the Internet. For example, most Linux distributions
865 are available in this way.</para>
866
867 <para>For virtual CD/DVD drives, the following
868 additional options are available:</para>
869
870 <para><itemizedlist>
871 <listitem>
872 <para>If you select <emphasis role="bold">"Host
873 drive"</emphasis> from the list, then the physical
874 device of the host computer is connected to the VM,
875 so that the guest operating system can read from and
876 write to your physical device. This is, for
877 instance, useful if you want to install Windows from
878 a real installation CD. In this case, select your
879 host drive from the drop-down list presented.</para>
880
881 <para>If you want to write (burn) CDs or DVDs using
882 the host drive, you need to also enable the
883 <emphasis role="bold">"Passthrough"</emphasis>
884 option; see <xref linkend="storage-cds" />.</para>
885 </listitem>
886
887 <listitem>
888 <para>If you select <emphasis role="bold">"Remove
889 disk from virtual drive",</emphasis> VirtualBox will
890 present an empty CD/DVD drive to the guest into
891 which no media has been inserted.</para>
892 </listitem>
893 </itemizedlist></para>
894 </listitem>
895 </itemizedlist></para>
896 </listitem>
897 </orderedlist></para>
898 </listitem>
899
900 <listitem>
901 <para>To <emphasis role="bold">remove an attachment,</emphasis>
902 select it and click on the "remove" icon at the bottom (or
903 right-click on it and select the menu item).</para>
904 </listitem>
905 </itemizedlist></para>
906
907 <para>Removable media (CD/DVDs and floppies) can be changed while the
908 guest is running. Since the "Settings" dialog is not available at that
909 time, you can also access these settings from the "Devices" menu of your
910 virtual machine window.</para>
911 </sect1>
912
913 <sect1 id="settings-audio">
914 <title>Audio settings</title>
915
916 <para>The "Audio" section in a virtual machine's Settings window
917 determines whether the VM will see a sound card connected, and whether the
918 audio output should be heard on the host system.</para>
919
920 <para>If audio is enabled for a guest, you can choose between the
921 emulation of an Intel AC'97 controller, an Intel HD Audio
922 controller<footnote>
923 <para>Intel HD Audio support was added with VirtualBox 4.0 because
924 Windows 7 (32-bit and 64-bit versions) as well as 64-bit Windows Vista
925 do not support the Intel AC'97 controller.</para>
926 </footnote> or a SoundBlaster 16 card. In any case, you can select what
927 audio driver VirtualBox will use on the host.</para>
928
929 <para>On a Linux host, depending on your host configuration, you can also
930 select between the OSS, ALSA or the PulseAudio subsystem. On newer Linux
931 distributions (Fedora 8 and above, Ubuntu 8.04 and above) the PulseAudio
932 subsystem should be preferred.</para>
933 </sect1>
934
935 <sect1 id="settings-network">
936 <title>Network settings</title>
937
938 <para>The "Network" section in a virtual machine's Settings window allows
939 you to configure how VirtualBox presents virtual network cards to your VM,
940 and how they operate.</para>
941
942 <para>When you first create a virtual machine, VirtualBox by default
943 enables one virtual network card and selects the "Network Address
944 Translation" (NAT) mode for it. This way the guest can connect to the
945 outside world using the host's networking and the outside world can
946 connect to services on the guest which you choose to make visible outside
947 of the virtual machine.</para>
948
949 <para>This default setup is good for probably 95% of VirtualBox users.
950 However, VirtualBox is extremely flexible in how it can virtualize
951 networking. It supports many virtual network cards per virtual machine,
952 the first four of which can be configured in detail in the Manager window.
953 Additional network cards can be configured on the command line with
954 VBoxManage. </para>
955
956 <para>Because of the vast array of options available, we have dedicated an
957 entire chapter of this manual to discussing networking configuration;
958 please see <xref linkend="networkingdetails" />.</para>
959 </sect1>
960
961 <sect1 id="serialports">
962 <title>Serial ports</title>
963
964 <para>VirtualBox fully supports virtual serial ports in a virtual machine
965 in an easy-to-use manner.<footnote>
966 <para>Serial port support was added with VirtualBox 1.5.</para>
967 </footnote></para>
968
969 <para>Ever since the original IBM PC, personal computers have been
970 equipped with one or two serial ports (also called COM ports by DOS and
971 Windows). Most importantly, computer mice used to be connected to serial
972 ports before USB became commonplace. </para>
973
974 <para>While serial ports are no longer as important as they used to be,
975 there are still some important uses left for them. For example, serial
976 ports can be used to set up a primitive network over a null-modem cable,
977 in case Ethernet is not available. Also, serial ports are indispensable
978 for system programmers needing to do kernel debugging, since kernel
979 debugging software usually interacts with developers over a serial port.
980 With virtual serial ports, system programmers can do kernel debugging on a
981 virtual machine instead of needing a real computer to connect to.</para>
982
983 <para>If a virtual serial port is enabled, the guest operating system sees
984 a standard 16450-type device. Both receiving and transmitting data is
985 supported. How this virtual serial port is then connected to the host is
986 configurable, and the details depend on your host operating system.</para>
987
988 <para>You can use either the graphical user interface or the command-line
989 <computeroutput>VBoxManage</computeroutput> tool to set up virtual serial
990 ports. For the latter, please refer to <xref
991 linkend="vboxmanage-modifyvm" />; in that section, look for the
992 <computeroutput>--uart</computeroutput> and
993 <computeroutput>--uartmode</computeroutput> options.</para>
994
995 <para>In either case, you can configure up to two virtual serial ports
996 simultaneously. For each such device, you will need to
997 determine<orderedlist>
998 <listitem>
999 <para>what kind of serial port the virtual machine should see by
1000 selecting an I/O base address and interrupt (IRQ). For these, we
1001 recommend to use the traditional values<footnote>
1002 <para>See, for example, <ulink
1003 url="http://en.wikipedia.org/wiki/COM_(hardware_interface)">http://en.wikipedia.org/wiki/COM_(hardware_interface)</ulink>.</para>
1004 </footnote>, which are:</para>
1005
1006 <para><orderedlist>
1007 <listitem>
1008 <para>COM1: I/O base 0x3F8, IRQ 4</para>
1009 </listitem>
1010
1011 <listitem>
1012 <para>COM2: I/O base 0x2F8, IRQ 3</para>
1013 </listitem>
1014
1015 <listitem>
1016 <para>COM3: I/O base 0x3E8, IRQ 4</para>
1017 </listitem>
1018
1019 <listitem>
1020 <para>COM4: I/O base 0x2E8, IRQ 3</para>
1021 </listitem>
1022 </orderedlist></para>
1023 </listitem>
1024
1025 <listitem>
1026 <para>Then, you will need to determine what this virtual port should
1027 be connected to. For each virtual serial port, you have the
1028 following options:</para>
1029
1030 <para><itemizedlist>
1031 <listitem>
1032 <para>You can elect to have the virtual serial port
1033 "disconnected", which means that the guest will see the
1034 device, but it will behave as if no cable had been connected
1035 to it.</para>
1036 </listitem>
1037
1038 <listitem>
1039 <para>You can connect the virtual serial port to a physical
1040 serial port on your host. (On a Windows host, this will be a
1041 name like <computeroutput>COM1</computeroutput>; on Linux or
1042 Solaris hosts, it will be a device node like
1043 <computeroutput>/dev/ttyS0</computeroutput>). VirtualBox will
1044 then simply redirect all data received from and sent to the
1045 virtual serial port to the physical device.</para>
1046 </listitem>
1047
1048 <listitem>
1049 <para>You can tell VirtualBox to connect the virtual serial
1050 port to a software pipe on the host. This depends on your host
1051 operating system:<itemizedlist>
1052 <listitem>
1053 <para>On a Windows host, data will be sent and received
1054 through a named pipe. You can use a helper program
1055 called VMware Serial Line Gateway, available for
1056 download at <literal> <ulink
1057 url="http://www.l4ka.org/tools/vmwaregateway.php">http://www.l4ka.org/tools/vmwaregateway.php</ulink>
1058 </literal>. This tool provides a fixed server mode named
1059 pipe at
1060 <computeroutput>\\.\pipe\vmwaredebug</computeroutput>
1061 and connects incoming TCP connections on port 567 with
1062 the named pipe.</para>
1063 </listitem>
1064
1065 <listitem>
1066 <para>On a Mac, Linux or OpenSolaris host, a local
1067 domain socket is used instead. On Linux there are
1068 various tools which can connect to a local domain socket
1069 or create one in server mode. The most flexible tool is
1070 <computeroutput>socat</computeroutput> and is available
1071 as part of many distributions.</para>
1072 </listitem>
1073 </itemizedlist></para>
1074
1075 <para>In this case, you can configure whether VirtualBox
1076 should create the named pipe (or, on non-Windows hosts, the
1077 local domain socket) itself or whether VirtualBox should
1078 assume that the pipe (or socket) exists already. With the
1079 <computeroutput>VBoxManage</computeroutput> command-line
1080 options, this is referred to as "server" or "client" mode,
1081 respectively.</para>
1082 </listitem>
1083 </itemizedlist></para>
1084 </listitem>
1085 </orderedlist>Up to two serial ports can be configured simultaneously
1086 per virtual machine, but you can pick any port numbers out of the above.
1087 For example, you can configure two serial ports to be able to work with
1088 COM2 and COM4 in the guest.</para>
1089 </sect1>
1090
1091 <sect1>
1092 <title>USB support</title>
1093
1094 <sect2 id="settings-usb">
1095 <title>USB settings</title>
1096
1097 <para>The "USB" section in a virtual machine's Settings window allows
1098 you to configure VirtualBox's sophisticated USB support.</para>
1099
1100 <para>VirtualBox can allow virtual machines to access the USB devices on
1101 your host directly. To achieve this, VirtualBox presents the guest
1102 operating system with a virtual USB controller. As soon as the guest
1103 system starts using a USB device, it will appear as unavailable on the
1104 host.<note>
1105 <orderedlist>
1106 <listitem>
1107 <para>Be careful with USB devices that are currently in use on
1108 the host! For example, if you allow your guest to connect to
1109 your USB hard disk that is currently mounted on the host, when
1110 the guest is activated, it will be disconnected from the host
1111 without a proper shutdown. This may cause data loss.</para>
1112 </listitem>
1113
1114 <listitem>
1115 <para>Solaris hosts have a few known limitations regarding USB
1116 support; please see <xref linkend="KnownIssues" />.</para>
1117 </listitem>
1118 </orderedlist>
1119 </note></para>
1120
1121 <para>In addition to allowing a guest access to your local USB devices,
1122 VirtualBox even allows your guests to connect to remote USB devices by
1123 use of the VirtualBox Remote Desktop Extension (VRDE). For details about
1124 this, see <xref linkend="usb-over-rdp" />.</para>
1125
1126 <para>In the Settings dialog, you can first configure whether USB is
1127 available in the guest at all, and in addition also optionally enable
1128 the USB 2.0 (EHCI) controller for the guest. If so, you can determine in
1129 detail which devices are available. For this, you must create so-called
1130 "filters" by specifying certain properties of the USB device.<note>
1131 <para>The EHCI controller is shipped as a VirtualBox extension
1132 package, which must be installed separately. See <xref
1133 linkend="intro-installing" /> for more information.</para>
1134 </note></para>
1135
1136 <para>Clicking on the "+" button to the right of the "USB Device
1137 Filters" window creates a <emphasis role="bold">new filter.</emphasis>
1138 You can give the filter a name (for referencing it later) and specify
1139 the filter criteria. The more criteria you specify, the more precisely
1140 devices will be selected. For instance, if you specify only a vendor ID
1141 of 046d, all devices produced by Logitech will be available to the
1142 guest. If you fill in all fields, on the other hand, the filter will
1143 only apply to a particular device model from a particular vendor, and
1144 not even to other devices of the same type with a different revision and
1145 serial number.</para>
1146
1147 <para>In detail, the following criteria are available:</para>
1148
1149 <orderedlist>
1150 <listitem>
1151 <para><emphasis role="bold">Vendor and product ID.</emphasis> With
1152 USB, each vendor of USB products carries an identification number
1153 that is unique world-wide, the "vendor ID". Similarly, each line of
1154 products is assigned a "product ID" number. Both numbers are
1155 commonly written in hexadecimal (that is, they are composed of the
1156 numbers 0-9 and the letters A-F), and a colon separates the vendor
1157 from the product ID. For example,
1158 <computeroutput>046d:c016</computeroutput> stands for Logitech as a
1159 vendor, and the "M-UV69a Optical Wheel Mouse" product.</para>
1160
1161 <para>Alternatively, you can also specify <emphasis
1162 role="bold">"Manufacturer"</emphasis> and <emphasis
1163 role="bold">"Product"</emphasis> by name.</para>
1164
1165 <para>To list all the USB devices that are connected to your host
1166 machine with their respective vendor and product IDs, you can use
1167 the following command (see <xref linkend="vboxmanage" />): <screen>VBoxManage list usbhost</screen></para>
1168
1169 <para>On Windows, you can also see all USB devices that are attached
1170 to your system in the Device Manager. On Linux, you can use the
1171 <computeroutput>lsusb</computeroutput> command.</para>
1172 </listitem>
1173
1174 <listitem>
1175 <para><emphasis role="bold">Serial number.</emphasis> While vendor
1176 and product ID are already quite specific to identify USB devices,
1177 if you have two identical devices of the same brand and product
1178 line, you will also need their serial numbers to filter them out
1179 correctly.</para>
1180 </listitem>
1181
1182 <listitem>
1183 <para><emphasis role="bold">Remote.</emphasis> This setting
1184 specifies whether the device will be local only, or remote only
1185 (over VRDP), or either.</para>
1186 </listitem>
1187 </orderedlist>
1188
1189 <para>On a Windows host, you will need to unplug and reconnect a USB
1190 device to use it after creating a filter for it.</para>
1191
1192 <para>As an example, you could create a new USB filter and specify a
1193 vendor ID of 046d (Logitech, Inc), a manufacturer index of 1, and "not
1194 remote". Then any USB devices on the host system produced by Logitech,
1195 Inc with a manufacturer index of 1 will be visible to the guest
1196 system.</para>
1197
1198 <para>Several filters can select a single device -- for example, a
1199 filter which selects all Logitech devices, and one which selects a
1200 particular webcam.</para>
1201
1202 <para>You can <emphasis role="bold">deactivate</emphasis> filters
1203 without deleting them by clicking in the checkbox next to the filter
1204 name.</para>
1205 </sect2>
1206
1207 <sect2>
1208 <title>Implementation notes for Windows and Linux hosts</title>
1209
1210 <para>On Windows hosts, a kernel mode device driver provides USB proxy
1211 support. It implements both a USB monitor, which allows VirtualBox to
1212 capture devices when they are plugged in, and a USB device driver to
1213 claim USB devices for a particular virtual machine. As opposed to
1214 VirtualBox versions before 1.4.0, system reboots are no longer necessary
1215 after installing the driver. Also, you no longer need to replug devices
1216 for VirtualBox to claim them.</para>
1217
1218 <para>On newer Linux hosts, VirtualBox accesses USB devices through
1219 special files in the file system. When VirtualBox is installed, these
1220 are made available to all users in the
1221 <computeroutput>vboxusers</computeroutput> system group. In order to be
1222 able to access USB from guest systems, make sure that you are a member
1223 of this group.</para>
1224
1225 <para>On older Linux hosts, USB devices are accessed using the
1226 <computeroutput>usbfs</computeroutput> file system. Therefore, the user
1227 executing VirtualBox needs read and write permission to the USB file
1228 system. Most distributions provide a group (e.g.
1229 <computeroutput>usbusers</computeroutput>) which the VirtualBox user
1230 needs to be added to. Also, VirtualBox can only proxy to virtual
1231 machines USB devices which are not claimed by a Linux host USB driver.
1232 The <computeroutput>Driver=</computeroutput> entry in
1233 <computeroutput>/proc/bus/usb/devices</computeroutput> will show you
1234 which devices are currently claimed. Please refer to <xref
1235 linkend="usb_linux" /> also for details about
1236 <computeroutput>usbfs</computeroutput>.</para>
1237 </sect2>
1238 </sect1>
1239
1240 <sect1>
1241 <title>Shared folders</title>
1242
1243 <para>Shared folders allow you to easily exchange data between a virtual
1244 machine and your host. This feature requires that the VirtualBox Guest
1245 Additions be installed in a virtual machine and is described in detail in
1246 <xref linkend="sharedfolders" />.</para>
1247 </sect1>
1248
1249 <sect1 id="efi">
1250 <title>Alternative firmware (EFI)</title>
1251
1252 <para>Starting with release 3.1, VirtualBox includes experimental support
1253 for the Extensible Firmware Interface (EFI), which is a new industry
1254 standard intended to eventually replace the legacy BIOS as the primary
1255 interface for bootstrapping computers and certain system services
1256 later.</para>
1257
1258 <para>By default, VirtualBox uses the BIOS firmware for virtual machines.
1259 To use EFI for a given virtual machine, you can enable EFI in the
1260 machine's "Settings" dialog (see <xref linkend="settings-motherboard" />).
1261 Alternatively, use the <computeroutput>VBoxManage</computeroutput> command
1262 line interface like this: <screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
1263 To switch back to using the BIOS, use: <screen>VBoxManage modifyvm "VM name" --firmware bios</screen>One
1264 notable user of EFI is Apple's Mac OS X, but recent Linuxes (such as
1265 Fedora 11) and Windows (starting with Vista) offer special versions that can
1266 be booted using EFI as well.</para>
1267
1268 <para>Another possible use of EFI in VirtualBox is development and testing
1269 of EFI applications, without booting any OS.</para>
1270
1271 <para>Note that the VirtualBox EFI support is experimental and will be
1272 enhanced as EFI matures and becomes more widespread. While Mac OS X and
1273 Linux guests are known to work fine, Windows guests are currently unable
1274 to boot with the VirtualBox EFI implementation.</para>
1275
1276 <sect2 id="efividmode">
1277 <title>Video modes in EFI</title>
1278
1279 <para>EFI provides two distinct video interfaces: GOP (Graphics Output
1280 Protocol) and UGA (Universal Graphics Adapter). Mac OS X uses GOP, while
1281 Linux tends to use UGA. VirtualBox provides a configuration option to
1282 control the framebuffer size for both interfaces.</para>
1283
1284 <para>To control GOP, use the following
1285 <computeroutput>VBoxManage</computeroutput> command: <screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N</screen>
1286 Where N can be one of 0,1,2,3,4 referring to the 640x480, 800x600,
1287 1024x768, 1280x1024, 1440x900 screen resolution respectively.</para>
1288
1289 <para>To change the UGA resolution: <screen>VBoxManage setextradata "VM name" VBoxInternal2/UgaHorizontalResolution 1440
1290VBoxManage setextradata "VM name" VBoxInternal2/UgaVerticalResolution 900</screen></para>
1291
1292 <para>The video mode for both GOP and UGA can only be changed when the
1293 VM is powered off and remains persistent until changed.</para>
1294 </sect2>
1295 </sect1>
1296</chapter>
Note: See TracBrowser for help on using the repository browser.

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