VirtualBox

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

最後變更 在這個檔案從75866是 75137,由 vboxsync 提交於 6 年 前

Docs/Manual: Renamed "video capturing" to "capturing" only, as this now also stands for audio capturing.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 81.5 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
4<!ENTITY % all.entities SYSTEM "all-entities.ent">
5%all.entities;
6]>
7<chapter id="BasicConcepts">
8
9 <title>Configuring Virtual Machines</title>
10
11 <para>
12 Whereas <xref linkend="Introduction" /> gave you a quick
13 introduction to VirtualBox and how to get your first virtual machine
14 running, the following chapter describes in detail how to configure
15 virtual machines.
16 </para>
17
18 <para>
19 You have considerable latitude in deciding what virtual hardware
20 will be provided to the guest. The virtual hardware can be used for
21 communicating with the host system or with other guests. For
22 instance, if you provide VirtualBox with the image of a CD-ROM in an
23 ISO file, VirtualBox can present this image to a guest system as if
24 it were a physical CD-ROM. Similarly, you can give a guest system
25 access to the real network via its virtual network card, and, if you
26 so choose, give the host system, other guests, or computers on the
27 Internet access to the guest system.
28 </para>
29
30 <sect1 id="guestossupport">
31
32 <title>Supported Guest Operating Systems</title>
33
34 <para>
35 Since VirtualBox is designed to provide a generic virtualization
36 environment for x86 systems, it may run operating systems of any
37 kind, even those not listed here. However, the focus is to
38 optimize VirtualBox for the following guest systems:
39 </para>
40
41 <itemizedlist>
42
43 <listitem>
44 <para>
45 <emphasis role="bold">Windows NT 4.0:</emphasis>
46 </para>
47
48 <para>
49 All versions, editions and service packs are fully supported.
50 However, there are some issues with older service packs. We
51 recommend that you install service pack 6a. Guest Additions
52 are available with a limited feature set.
53 </para>
54 </listitem>
55
56 <listitem>
57 <para>
58 <emphasis role="bold">Windows 2000/XP/Server 2003/Vista/Server
59 2008/7/8/8.1/10 RTM 10240/Server 2012:</emphasis>
60 </para>
61
62 <para>
63 All versions, editions and service packs are fully supported,
64 including 64-bit versions, under the preconditions listed
65 below. Guest Additions are available. Windows 8 and later
66 requires hardware virtualization to be enabled.
67 </para>
68 </listitem>
69
70 <listitem>
71 <para>
72 <emphasis role="bold">DOS/Windows 3.x/95/98/ME:</emphasis>
73 </para>
74
75 <para>
76 Limited testing has been performed. Use beyond legacy
77 installation mechanisms is not recommended. Guest Additions
78 are not available.
79 </para>
80 </listitem>
81
82 <listitem>
83 <para>
84 <emphasis role="bold">Linux 2.4:</emphasis>
85 </para>
86
87 <para>
88 Limited support.
89 </para>
90 </listitem>
91
92 <listitem>
93 <para>
94 <emphasis role="bold">Linux 2.6:</emphasis>
95 </para>
96
97 <para>
98 All versions and editions are fully supported, both 32-bit and
99 64-bit. Guest Additions are available.
100 </para>
101
102 <para>
103 We strongly recommend using a Linux kernel version of 2.6.13
104 or later for best performance.
105 </para>
106
107 <note>
108 <para>
109 Certain Linux kernel releases have bugs that prevent them
110 from executing in a virtual environment. See
111 <xref
112 linkend="ts_linux-buggy" />.
113 </para>
114 </note>
115 </listitem>
116
117 <listitem>
118 <para>
119 <emphasis role="bold">Linux 3.x and later:</emphasis>
120 </para>
121
122 <para>
123 All versions and editions are fully supported, both 32-bit and
124 64-bit. Guest Additions are available.
125 </para>
126 </listitem>
127
128 <listitem>
129 <para>
130 <emphasis role="bold"> Solaris 10u6 and higher, Solaris 11,
131 including Solaris 11 Express:</emphasis>
132 </para>
133
134 <para>
135 Fully supported. 64-bit, prior to Solaris 11 11/11, and also
136 32 32-bit. Guest Additions are available.
137 </para>
138 </listitem>
139
140 <listitem>
141 <para>
142 <emphasis role="bold">FreeBSD:</emphasis>
143 </para>
144
145 <para>
146 Requires hardware virtualization to be enabled. Limited
147 support. Guest Additions are not available yet.
148 </para>
149 </listitem>
150
151 <listitem>
152 <para>
153 <emphasis role="bold"> OpenBSD:</emphasis>
154 </para>
155
156 <para>
157 Requires hardware virtualization to be enabled. Versions 3.7
158 and later are supported. Guest Additions are not available
159 yet.
160 </para>
161 </listitem>
162
163 <listitem>
164 <para>
165 <emphasis role="bold">OS/2 Warp 4.5:</emphasis>
166 </para>
167
168 <para>
169 Requires hardware virtualization to be enabled. We officially
170 support MCP2 only. Other OS/2 versions may or may not work.
171 Guest Additions are available with a limited feature set. See
172 <xref linkend="KnownIssues" />.
173 </para>
174 </listitem>
175
176 <listitem>
177 <para>
178 <emphasis role="bold">Mac OS X:</emphasis>
179 </para>
180
181 <para>
182 VirtualBox 3.2 added experimental support for Mac OS X guests,
183 but this comes with restrictions. See
184 <xref linkend="intro-macosxguests"/> and also
185 <xref linkend="KnownIssues" />.
186 </para>
187 </listitem>
188
189 </itemizedlist>
190
191 <sect2 id="intro-macosxguests">
192
193 <title>Mac OS X Guests</title>
194
195 <para>
196 Starting with version 3.2, VirtualBox has experimental support
197 for Mac OS X guests. This allows you to install and execute
198 unmodified versions of Mac OS X on supported host hardware.
199 </para>
200
201 <para>
202 Whereas competing solutions perform modifications to the Mac OS
203 X install DVDs, such as a different boot loader and replaced
204 files, VirtualBox is the first product to provide the modern PC
205 architecture expected by OS X without requiring any "hacks".
206 </para>
207
208 <para>
209 You should be aware of a number of important issues before
210 attempting to install a Mac OS X guest:
211 </para>
212
213 <itemizedlist>
214
215 <listitem>
216 <para>
217 Mac OS X is commercial, licensed software and contains
218 <emphasis role="bold">both license and technical
219 restrictions</emphasis> that limit its use to certain
220 hardware and usage scenarios. It is important that you
221 understand and obey these restrictions.
222 </para>
223
224 <para>
225 In particular, for most versions of Mac OS X, Apple
226 prohibits installing them on non-Apple hardware.
227 </para>
228
229 <para>
230 These license restrictions are also enforced on a technical
231 level. Mac OS X verifies whether it is running on Apple
232 hardware, and most DVDs that come with Apple hardware even
233 check for an exact model. These restrictions are
234 <emphasis>not</emphasis> circumvented by VirtualBox and
235 continue to apply.
236 </para>
237 </listitem>
238
239 <listitem>
240 <para>
241 Only <emphasis role="bold">CPUs</emphasis> known and tested
242 by Apple are supported. As a result, if your Intel CPU is
243 newer than the build of Mac OS X, or if you have a non-Intel
244 CPU, it will most likely panic during bootup with an
245 "Unsupported CPU" exception. It is generally best to use the
246 Mac OS X DVD that came with your Apple hardware.
247 </para>
248 </listitem>
249
250 <listitem>
251 <para>
252 The Mac OS X installer expects the harddisk to be
253 <emphasis role="bold">partitioned</emphasis> so when it does
254 not offer a selection, you have to start the Disk Utility
255 from the Tools menu and partition the hard disk. Then close
256 the Disk Utility and proceed with the installation.
257 </para>
258 </listitem>
259
260 <listitem>
261 <para>
262 In addition, as Mac OS X support in VirtualBox is currently
263 still experimental, see also <xref linkend="KnownIssues" />.
264 </para>
265 </listitem>
266
267 </itemizedlist>
268
269 </sect2>
270
271 <sect2 id="intro-64bitguests">
272
273 <title>64-bit Guests</title>
274
275 <para>
276 VirtualBox supports 64-bit guest operating systems, even on
277 32-bit host operating systems,
278
279 <footnote>
280
281 <para>
282 64-bit guest support was added with VirtualBox 2.0; support
283 for 64-bit guests on 32-bit hosts was added with VirtualBox
284 2.1.
285 </para>
286
287 </footnote>
288
289 provided that the following conditions are met:
290 </para>
291
292 <itemizedlist>
293
294 <listitem>
295 <para>
296 You need a 64-bit processor with hardware virtualization
297 support. See <xref linkend="hwvirt" />.
298 </para>
299 </listitem>
300
301 <listitem>
302 <para>
303 You must enable hardware virtualization for the particular
304 VM for which you want 64-bit support. Software
305 virtualization is not supported for 64-bit VMs.
306 </para>
307 </listitem>
308
309 <listitem>
310 <para>
311 If you want to use 64-bit guest support on a 32-bit host
312 operating system, you must also select a 64-bit operating
313 system for the particular VM. Since supporting 64 bits on
314 32-bit hosts incurs additional overhead, VirtualBox only
315 enables this support upon explicit request.
316 </para>
317
318 <para>
319 On 64-bit hosts, which typically come with hardware
320 virtualization support, 64-bit guest operating systems are
321 always supported regardless of settings. So you can simply
322 install a 64-bit operating system in the guest.
323 </para>
324 </listitem>
325
326 </itemizedlist>
327
328 <para>
329 <warning>
330 <para>
331 On any host, you should enable <emphasis role="bold">I/O
332 APIC</emphasis> for virtual machines that you intend to use
333 in 64-bit mode. This is especially true for 64-bit Windows
334 VMs. See <xref linkend="settings-general-advanced" />. In
335 addition, for 64-bit Windows guests, you should make sure
336 that the VM uses the <emphasis role="bold">Intel networking
337 device</emphasis>, since there is no 64-bit driver support
338 for the AMD PCNet card. See
339 <xref
340 linkend="nichardware" />.
341 </para>
342 </warning>
343 </para>
344
345 <para>
346 If you use the <emphasis role="bold">Create VM </emphasis>
347 wizard of the VirtualBox graphical user interface, see
348 <xref linkend="gui-createvm" />, VirtualBox will automatically
349 use the correct settings for each selected 64-bit operating
350 system type.
351 </para>
352
353 </sect2>
354
355 </sect1>
356
357 <sect1 id="basic-unattended">
358
359 <title>Unattended Guest Installation</title>
360
361 <para>
362 VirtualBox is able to automatically install a guest by providing
363 the installation medium as well as a few parameters like the name
364 of the default user.
365 </para>
366
367 <para>
368 To perform an unattended guest installation, a VM has to be
369 prepared. A VM can be created using the GUI as described in
370 <xref
371 linkend="gui-createvm" /> or by using VBoxManage as
372 described in <xref linkend="vboxmanage-createvm" />. In general
373 it's sufficient to chose the type of the guest operating system
374 and to use the proposed defaults for that operating system. See
375 the following sections on how to change the VM settings for
376 certain needs.
377 </para>
378
379 <para>
380 After the VM was created, the VM has to be prepared for unattended
381 guest execution use VBoxManage, see
382 <xref
383 linkend="vboxmanage-unattended" />. During this step
384 VirtualBox scans the installation medium and changes certain
385 parameters for a seamless installation as a guest running on
386 VirtualBox.
387 </para>
388
389 <para>
390 Once the preparation phase was successfully finished, the VM can
391 be started either from the GUI or from VBoxManage, see
392 <xref
393 linkend="vboxmanage-startvm" />. The VM will now perform
394 the automatic installation. Please note that the boot order was
395 changed during the preparation phase by giving the virtual hard
396 disk the highest priority. As the disk is normally empty before an
397 automatic installation is started, the VM will boot from the
398 virtual DVD drive as next available boot medium and the
399 installation will start. If, for some reason, the virtual hard
400 disk contains a bootable operating system then the installation
401 will not start unless the boot order was manually changed by
402 pressing F12 during the BIOS splash screen.
403 </para>
404
405 </sect1>
406
407 <sect1 id="emul-hardware">
408
409 <title>Emulated Hardware</title>
410
411 <para>
412 VirtualBox virtualizes nearly all hardware of the host. Depending
413 on a VM's configuration, the guest will see the following virtual
414 hardware:
415 </para>
416
417 <itemizedlist>
418
419 <listitem>
420 <para>
421 <emphasis role="bold">Input devices.</emphasis> By default,
422 VirtualBox emulates a standard PS/2 keyboard and mouse. These
423 devices are supported by almost all past and present operating
424 systems.
425 </para>
426
427 <para>
428 In addition, VirtualBox can provide virtual USB input devices
429 to avoid having to capture mouse and keyboard, as described in
430 <xref
431 linkend="keyb_mouse_normal" />.
432 </para>
433 </listitem>
434
435 <listitem>
436 <para>
437 <emphasis role="bold">Graphics.</emphasis> The VirtualBox
438 graphics device (sometimes referred to as VGA device) is,
439 unlike nearly all other emulated devices, not based on any
440 physical counterpart. It is a simple, synthetic device which
441 provides compatibility with standard VGA and several extended
442 registers used by the VESA BIOS Extensions (VBE).
443 </para>
444 </listitem>
445
446 <listitem>
447 <para>
448 <emphasis role="bold">Storage.</emphasis> VirtualBox currently
449 emulates the standard ATA interface found on Intel PIIX3/PIIX4
450 chips, the SATA (AHCI) interface, and two SCSI adapters (LSI
451 Logic and BusLogic). See
452 <xref linkend="harddiskcontrollers" /> for details. Whereas
453 providing one of these would be enough for VirtualBox by
454 itself, this multitude of storage adapters is required for
455 compatibility with other hypervisors. Windows is particularly
456 picky about its boot devices, and migrating VMs between
457 hypervisors is very difficult or impossible if the storage
458 controllers are different.
459 </para>
460 </listitem>
461
462 <listitem>
463 <para>
464 <emphasis role="bold">Networking.</emphasis> See
465 <xref
466 linkend="nichardware" />.
467 </para>
468 </listitem>
469
470 <listitem>
471 <para>
472 <emphasis role="bold">USB.</emphasis> VirtualBox emulates
473 three USB host controllers: xHCI, EHCI, and OHCI. While xHCI
474 handles all USB transfer speeds, only guest operating systems
475 released approximately after 2011 support xHCI. Note that for
476 Windows 7 guests, 3rd party drivers must be installed for xHCI
477 support.
478 </para>
479
480 <para>
481 Older operating systems typically support OHCI and EHCI. The
482 two controllers are needed because OHCI only handles USB low-
483 and full-speed devices (both USB 1.x and 2.0), while EHCI only
484 handles high-speed devices (USB 2.0 only).
485 </para>
486
487 <para>
488 The emulated USB controllers do not communicate directly with
489 devices on the host but rather with a virtual USB layer which
490 abstracts the USB protocol and allows the use of remote USB
491 devices.
492 </para>
493 </listitem>
494
495 <listitem>
496 <para>
497 <emphasis role="bold">Audio.</emphasis> See
498 <xref
499 linkend="settings-audio" />.
500 </para>
501 </listitem>
502
503 </itemizedlist>
504
505 </sect1>
506
507 <sect1 id="generalsettings">
508
509 <title>General Settings</title>
510
511 <para>
512 In the Settings window, under
513 <emphasis role="bold">General</emphasis>, you can configure the
514 most fundamental aspects of the virtual machine such as memory and
515 essential hardware. There are three tabs: Basic, Advanced and
516 Description.
517 </para>
518
519 <sect2 id="settings-basic">
520
521 <title>Basic Tab</title>
522
523 <para>
524 In the Basic tab of the General settings category, you can find
525 these settings:
526 </para>
527
528 <itemizedlist>
529
530 <listitem>
531 <para>
532 <emphasis role="bold">Name:</emphasis> The name under which
533 the VM is shown in the list of VMs in the main window. Under
534 this name, VirtualBox also saves the VM's configuration
535 files. By changing the name, VirtualBox renames these files
536 as well. As a result, you can only use characters which are
537 allowed in your host operating system's file names.
538 </para>
539
540 <para>
541 Note that internally, VirtualBox uses unique identifiers
542 (UUIDs) to identify virtual machines. You can display these
543 with <computeroutput>VBoxManage</computeroutput>.
544 </para>
545 </listitem>
546
547 <listitem>
548 <para>
549 <emphasis role="bold">Operating system/version:</emphasis>
550 The type of the guest operating system that is, or will be,
551 installed in the VM. This is the same setting that was
552 specified in the "New Virtual Machine" wizard. See
553 <xref
554 linkend="gui-createvm" />.
555 </para>
556
557 <para>
558 Whereas the default settings of a newly created VM depend on
559 the selected operating system type, changing the type later
560 has no effect on VM settings. This value is purely
561 informational and decorative.
562 </para>
563 </listitem>
564
565 </itemizedlist>
566
567 </sect2>
568
569 <sect2 id="settings-general-advanced">
570
571 <title>Advanced Tab</title>
572
573 <para>
574 The following settings are available in the Advanced tab:
575 </para>
576
577 <itemizedlist>
578
579 <listitem>
580 <para>
581 <emphasis role="bold">Snapshot Folder:</emphasis> By
582 default, VirtualBox saves snapshot data together with your
583 other VirtualBox configuration data. See
584 <xref
585 linkend="vboxconfigdata" />. With this
586 setting, you can specify any other folder for each VM.
587 </para>
588 </listitem>
589
590 <listitem>
591 <para>
592 <emphasis role="bold">Shared Clipboard:</emphasis> You can
593 select here whether the clipboard of the guest operating
594 system should be shared with that of your host. If you
595 select <emphasis role="bold">Bidirectional</emphasis>, then
596 VirtualBox will always make sure that both clipboards
597 contain the same data. If you select
598 <emphasis role="bold">Host to Guest</emphasis> or
599 <emphasis role="bold">Guest to Host</emphasis>, then
600 VirtualBox will only ever copy clipboard data in one
601 direction.
602 </para>
603
604 <para>
605 Clipboard sharing requires that the VirtualBox Guest
606 Additions be installed. In such a case, this setting has no
607 effect. See <xref linkend="guestadditions" />.
608 </para>
609
610 <para>
611 The shared clipboard is disabled by default. See
612 <xref linkend="security_clipboard"/> for an explanation.
613 This setting can be changed at any time using the "Shared
614 Clipboard" menu item in the "Devices" menu of the virtual
615 machine.
616 </para>
617 </listitem>
618
619 <listitem>
620 <para>
621 <emphasis role="bold">Drag and Drop:</emphasis> This setting
622 enables support for drag and drop. Select an object, such as
623 a file, from the host or guest and directly copy or open it
624 on the guest or host. Multiple per-VM drag and drop modes
625 allow restricting access in either direction.
626 </para>
627
628 <para>
629 For drag and drop to work the Guest Additions need to be
630 installed on the guest.
631 </para>
632
633 <note>
634 <para>
635 Drag and drop is disabled by default. This setting can be
636 changed at any time using the <emphasis role="bold">Drag
637 and Drop</emphasis> menu item in the Devices menu of the
638 virtual machine.
639 </para>
640 </note>
641
642 <para>
643 See <xref linkend="guestadd-dnd"/>.
644
645 <footnote>
646
647 <para>
648 Experimental support for drag and drop was added with
649 VirtualBox 4.2.
650 </para>
651
652 </footnote>
653 </para>
654 </listitem>
655
656 </itemizedlist>
657
658 </sect2>
659
660 <sect2 id="settings-description">
661
662 <title>Description Tab</title>
663
664 <para>
665 Here you can enter any description for your virtual machine, if
666 you want. This has no effect on the functionality of the
667 machine, but you may find this space useful to note down things
668 like the configuration of a virtual machine and the software
669 that has been installed into it.
670 </para>
671
672 <para>
673 To insert a line break into the description text field, press
674 <emphasis>Shift+Enter</emphasis>.
675 </para>
676
677 </sect2>
678
679 </sect1>
680
681 <sect1 id="settings-system">
682
683 <title>System Settings</title>
684
685 <para>
686 The System category groups various settings that are related to
687 the basic hardware that is presented to the virtual machine.
688 </para>
689
690 <note>
691 <para>
692 As the activation mechanism of Microsoft Windows is sensitive to
693 hardware changes, if you are changing hardware settings for a
694 Windows guest, some of these changes may trigger a request for
695 another activation with Microsoft.
696 </para>
697 </note>
698
699 <sect2 id="settings-motherboard">
700
701 <title>Motherboard Tab</title>
702
703 <para>
704 On the Motherboard tab, you can influence virtual hardware that
705 would normally be on the motherboard of a real computer.
706 </para>
707
708 <itemizedlist>
709
710 <listitem>
711 <para>
712 <emphasis role="bold">Base memory:</emphasis> Sets the
713 amount of RAM that is allocated and given to the VM when it
714 is running. The specified amount of memory will be requested
715 from the host operating system, so it must be available or
716 made available as free memory on the host when attempting to
717 start the VM and will not be available to the host while the
718 VM is running. This is the same setting that was specified
719 in the "New Virtual Machine" wizard, as described in
720 <xref linkend="gui-createvm" />.
721 </para>
722
723 <para>
724 Generally, it is possible to change the memory size after
725 installing the guest operating system. But you must not
726 reduce the memory to an amount where the operating system
727 would no longer boot.
728 </para>
729 </listitem>
730
731 <listitem>
732 <para>
733 <emphasis role="bold">Boot order:</emphasis> Determines the
734 order in which the guest operating system will attempt to
735 boot from the various virtual boot devices. Analogous to a
736 real PC's BIOS setting, VirtualBox can tell a guest OS to
737 start from the virtual floppy, the virtual CD/DVD drive, the
738 virtual hard drive (each of these as defined by the other VM
739 settings), the network, or none of these.
740 </para>
741
742 <para>
743 If you select <emphasis role="bold">Network</emphasis>, the
744 VM will attempt to boot from a network via the PXE
745 mechanism. This needs to be configured in detail on the
746 command line. See
747 <xref
748 linkend="vboxmanage-modifyvm" />.
749 </para>
750 </listitem>
751
752 <listitem>
753 <para>
754 <emphasis role="bold">Chipset:</emphasis> You can select
755 which chipset will be presented to the virtual machine.
756 Before VirtualBox 4.0, PIIX3 was the only available option
757 here. For modern guest operating systems such as Mac OS X,
758 that old chipset is no longer well supported. As a result,
759 VirtualBox 4.0 introduced an emulation of the more modern
760 ICH9 chipset, which supports PCI express, three PCI buses,
761 PCI-to-PCI bridges and Message Signaled Interrupts (MSI).
762 This allows modern operating systems to address more PCI
763 devices and no longer requires IRQ sharing. Using the ICH9
764 chipset it is also possible to configure up to 36 network
765 cards, up to 8 network adapters with PIIX3. Note that the
766 ICH9 support is experimental and not recommended for guest
767 operating systems which do not require it.
768 </para>
769 </listitem>
770
771 <listitem>
772 <para>
773 <emphasis role="bold">Pointing Device:</emphasis> The
774 default virtual pointing devices for older guests is the
775 traditional PS/2 mouse. If set to <emphasis>USB
776 tablet</emphasis>, VirtualBox reports to the virtual machine
777 that a USB tablet device is present and communicates mouse
778 events to the virtual machine through this device. The third
779 setting is a <emphasis>USB Multi-Touch Tablet</emphasis>
780 which is suited for recent Windows guests.
781 </para>
782
783 <para>
784 Using the virtual USB tablet has the advantage that
785 movements are reported in absolute coordinates, instead of
786 as relative position changes. This allows VirtualBox to
787 translate mouse events over the VM window into tablet events
788 without having to "capture" the mouse in the guest as
789 described in
790 <xref
791 linkend="keyb_mouse_normal" />. This
792 makes using the VM less tedious even if Guest Additions are
793 not installed.
794
795 <footnote>
796
797 <para>
798 The virtual USB tablet was added with VirtualBox 3.2.
799 Depending on the guest operating system selected, this
800 is now enabled by default for new virtual machines.
801 </para>
802
803 </footnote>
804 </para>
805 </listitem>
806
807 <listitem>
808 <para>
809 <emphasis role="bold">Enable I/O APIC:</emphasis> Advanced
810 Programmable Interrupt Controllers (APICs) are a newer x86
811 hardware feature that have replaced old-style Programmable
812 Interrupt Controllers (PICs) in recent years. With an I/O
813 APIC, operating systems can use more than 16 interrupt
814 requests (IRQs) and therefore avoid IRQ sharing for improved
815 reliability.
816 </para>
817
818 <note>
819 <para>
820 Enabling the I/O APIC is <emphasis>required</emphasis> for
821 64-bit guest operating systems, especially Windows Vista.
822 It is also required if you want to use more than one
823 virtual CPU in a virtual machine.
824 </para>
825 </note>
826
827 <para>
828 However, software support for I/O APICs has been unreliable
829 with some operating systems other than Windows. Also, the
830 use of an I/O APIC slightly increases the overhead of
831 virtualization and therefore slows down the guest OS a
832 little.
833 </para>
834
835 <warning>
836 <para>
837 All Windows operating systems starting with Windows 2000
838 install different kernels depending on whether an I/O APIC
839 is available. As with ACPI, the I/O APIC therefore
840 <emphasis>must not be turned off after
841 installation</emphasis> of a Windows guest OS. Turning it
842 on after installation will have no effect however.
843 </para>
844 </warning>
845 </listitem>
846
847 <listitem>
848 <para>
849 <emphasis role="bold">Enable EFI:</emphasis> Enables
850 Extensible Firmware Interface (EFI), which replaces the
851 legacy BIOS and may be useful for certain advanced use
852 cases. See <xref linkend="efi" />.
853 </para>
854 </listitem>
855
856 <listitem>
857 <para>
858 <emphasis role="bold">Hardware clock in UTC time:</emphasis>
859 If checked, VirtualBox will report the system time in UTC
860 format to the guest instead of local (host) time. This
861 affects how the virtual real-time clock (RTC) operates and
862 may be useful for Unix-like guest operating systems, which
863 typically expect the hardware clock to be set to UTC.
864 </para>
865 </listitem>
866
867 </itemizedlist>
868
869 <para>
870 In addition, you can turn off the <emphasis role="bold">Advanced
871 Configuration and Power Interface (ACPI)</emphasis> which
872 VirtualBox presents to the guest operating system by default.
873 ACPI is the current industry standard to allow operating systems
874 to recognize hardware, configure motherboards and other devices
875 and manage power. As all modern PCs contain this feature and
876 Windows and Linux have been supporting it for years, it is also
877 enabled by default in VirtualBox. It can only be turned off on
878 the command line. See
879 <xref
880 linkend="vboxmanage-modifyvm" />.
881 </para>
882
883 <warning>
884 <para>
885 All Windows operating systems starting with Windows 2000
886 install different kernels depending on whether ACPI is
887 available, so ACPI <emphasis>must not be turned off</emphasis>
888 after installation of a Windows guest OS. Turning it on after
889 installation will have no effect however.
890 </para>
891 </warning>
892
893 </sect2>
894
895 <sect2 id="settings-processor">
896
897 <title>Processor Tab</title>
898
899 <para>
900 On the Processor tab, you can set how many virtual
901 <emphasis role="bold">CPU cores</emphasis> the guest operating
902 systems should see. Starting with version 3.0, VirtualBox
903 supports symmetrical multiprocessing (SMP) and can present up to
904 32 virtual CPU cores to each virtual machine.
905 </para>
906
907 <para>
908 You should not, however, configure virtual machines to use more
909 CPU cores than are available physically (real cores, no
910 hyperthreads).
911 </para>
912
913 <para>
914 On this tab you can also set the <emphasis role="bold">CPU
915 execution cap</emphasis>. This setting limits the amount of time
916 a host CPU spends to emulate a virtual CPU. The default setting
917 is 100% meaning that there is no limitation. A setting of 50%
918 implies a single virtual CPU can use up to 50% of a single host
919 CPU. Note that limiting the execution time of the virtual CPUs
920 may induce guest timing problems.
921 </para>
922
923 <para>
924 In addition, the <emphasis role="bold">Enable PAE/NX</emphasis>
925 setting determines whether the PAE and NX capabilities of the
926 host CPU will be exposed to the virtual machine. PAE stands for
927 "Physical Address Extension". Normally, if enabled and supported
928 by the operating system, then even a 32-bit x86 CPU can access
929 more than 4 GB of RAM. This is made possible by adding another 4
930 bits to memory addresses, so that with 36 bits, up to 64 GB can
931 be addressed. Some operating systems, such as Ubuntu Server,
932 require PAE support from the CPU and cannot be run in a virtual
933 machine without it.
934 </para>
935
936 <para>
937 With virtual machines running modern server operating systems,
938 VirtualBox also supports CPU hot-plugging. For details, see
939 <xref linkend="cpuhotplug" />.
940 </para>
941
942 </sect2>
943
944 <sect2 id="settings-acceleration">
945
946 <title>Acceleration Tab</title>
947
948 <para>
949 On this page, you can determine whether and how VirtualBox
950 should use hardware virtualization extensions that your host CPU
951 may support. This is the case with most CPUs built after 2006.
952 </para>
953
954 <para>
955 You can select for each virtual machine individually whether
956 VirtualBox should use software or hardware virtualization.
957
958 <footnote>
959
960 <para>
961 Prior to VirtualBox version 2.2, software virtualization was
962 the default; starting with version 2.2, VirtualBox will
963 enable hardware virtualization by default for new virtual
964 machines that you create. Existing virtual machines are not
965 automatically changed for compatibility reasons, and the
966 default can of course be changed for each virtual machine.
967 </para>
968
969 </footnote>
970 </para>
971
972 <para>
973 In most cases, the default settings will be fine; VirtualBox
974 will have picked sensible defaults depending on the operating
975 system that you selected when you created the virtual machine.
976 In certain situations, however, you may want to change these
977 preconfigured defaults.
978 </para>
979
980 <para>
981 Advanced users may be interested in technical details about
982 software vs. hardware virtualization. See
983 <xref
984 linkend="hwvirt" />.
985 </para>
986
987 <para>
988 If your host's CPU supports the <emphasis role="bold">nested
989 paging</emphasis> (AMD-V) or
990 <emphasis role="bold">EPT</emphasis> (Intel VT-x) features, then
991 you can expect a significant performance increase by enabling
992 nested paging in addition to hardware virtualization. For
993 technical details, see <xref linkend="nestedpaging" />.
994 </para>
995
996 <para>
997 Starting with version 5.0, VirtualBox provides
998 paravirtualization interfaces to improve time-keeping accuracy
999 and performance of guest operating systems. The options
1000 available are documented under the
1001 <computeroutput>paravirtprovider</computeroutput> option in
1002 <xref linkend="vboxmanage-modifyvm" />. For further details on
1003 the paravirtualization providers, see
1004 <xref linkend="gimproviders" />.
1005 </para>
1006
1007 </sect2>
1008
1009 </sect1>
1010
1011 <sect1 id="settings-display">
1012
1013 <title>Display Settings</title>
1014
1015 <itemizedlist>
1016
1017 <listitem>
1018 <para>
1019 <emphasis role="bold">Video memory size:</emphasis> Sets the
1020 size of the memory provided by the virtual graphics card
1021 available to the guest, in MB. As with the main memory, the
1022 specified amount will be allocated from the host's resident
1023 memory. Based on the amount of video memory, higher
1024 resolutions and color depths may be available.
1025 </para>
1026
1027 <para>
1028 The GUI will show a warning if the amount of video memory is
1029 too small to be able to switch the VM into full screen mode.
1030 The minimum value depends on the number of virtual monitors,
1031 the screen resolution and the color depth of the host display
1032 as well as of the activation of <emphasis>3D
1033 acceleration</emphasis> and <emphasis>2D video
1034 acceleration</emphasis>. A rough estimate is (<emphasis>color
1035 depth</emphasis> / 8) x <emphasis>vertical pixels</emphasis> x
1036 <emphasis>horizontal pixels</emphasis> x <emphasis>number of
1037 screens</emphasis> = <emphasis>number of bytes</emphasis>.
1038 Like said above, there might be extra memory required for any
1039 activated display acceleration setting.
1040 </para>
1041 </listitem>
1042
1043 <listitem>
1044 <para>
1045 <emphasis role="bold">Monitor count:</emphasis> With this
1046 setting VirtualBox can provide more than one virtual monitor
1047 to a virtual machine. If a guest operating system, such as
1048 Windows, supports multiple attached monitors, VirtualBox can
1049 pretend that multiple virtual monitors are present.
1050
1051 <footnote>
1052
1053 <para>
1054 Multiple monitor support was added with VirtualBox 3.2.
1055 </para>
1056
1057 </footnote>
1058
1059 Up to eight such virtual monitors are supported.
1060 </para>
1061
1062 <para>
1063 The output of the multiple monitors are displayed on the host
1064 in multiple VM windows which are running side by side.
1065 </para>
1066
1067 <para>
1068 However, in full screen and seamless mode, they use the
1069 available physical monitors attached to the host. As a result,
1070 for full screen and seamless modes to work with multiple
1071 monitors, you will need at least as many physical monitors as
1072 you have virtual monitors configured, or VirtualBox will
1073 report an error. You can configure the relationship between
1074 guest and host monitors using the view menu by pressing Host
1075 key + Home when you are in full screen or seamless mode.
1076 </para>
1077
1078 <para>
1079 See also <xref linkend="KnownIssues" />.
1080 </para>
1081 </listitem>
1082
1083 <listitem>
1084 <para>
1085 <emphasis role="bold">Enable 3D acceleration:</emphasis> If a
1086 virtual machine has Guest Additions installed, you can select
1087 here whether the guest should support accelerated 3D graphics.
1088 See <xref linkend="guestadd-3d" />.
1089 </para>
1090 </listitem>
1091
1092 <listitem>
1093 <para>
1094 <emphasis role="bold">Enable 2D video acceleration:</emphasis>
1095 If a virtual machine with Microsoft Windows has Guest
1096 Additions installed, you can select here whether the guest
1097 should support accelerated 2D video graphics. See
1098 <xref
1099 linkend="guestadd-2d" />.
1100 </para>
1101 </listitem>
1102
1103 <listitem>
1104 <para>
1105 <emphasis role="bold">Remote display:</emphasis> On the
1106 <emphasis role="bold">Remote Display</emphasis> tab, if the
1107 VirtualBox Remote Display Extension (VRDE) is installed, you
1108 can enable the VRDP server that is built into VirtualBox. This
1109 enables you to connect to the console of the virtual machine
1110 remotely with any standard RDP viewer, such as
1111 <computeroutput>mstsc.exe</computeroutput> that comes with
1112 Microsoft Windows. On Linux and Solaris systems you can use
1113 the standard open source
1114 <computeroutput>rdesktop</computeroutput> program. These
1115 features are described in <xref linkend="vrde" />.
1116 </para>
1117 </listitem>
1118
1119 <listitem>
1120 <para>
1121 <emphasis role="bold">Capture:</emphasis> On the
1122 <emphasis role="bold">Capture</emphasis> tab you can
1123 enable video and audio capturing, as well as changing related options
1124 for this VM. Note that these features can also be enabled/disabled
1125 while the VM is being executed.
1126 </para>
1127 </listitem>
1128
1129 </itemizedlist>
1130
1131 </sect1>
1132
1133 <sect1 id="settings-storage">
1134
1135 <title>Storage Settings</title>
1136
1137 <para>
1138 The Storage category in the VM settings enables you to connect
1139 virtual hard disk, CD/DVD, and floppy images and drives to your
1140 virtual machine.
1141 </para>
1142
1143 <para>
1144 In a real PC, so-called "storage controllers" connect physical
1145 disk drives to the rest of the computer. Similarly, VirtualBox
1146 presents virtual storage controllers to a virtual machine. Under
1147 each controller, the virtual devices, such as hard disks, CD/DVD
1148 or floppy drives, attached to the controller are shown.
1149
1150 <note>
1151 <para>
1152 This section can only give you a quick introduction to the
1153 VirtualBox storage settings. Since VirtualBox gives you an
1154 enormous wealth of options in this area, we have dedicated an
1155 entire chapter of this User Manual to explaining all the
1156 details. See <xref
1157 linkend="storage" />.
1158 </para>
1159 </note>
1160 </para>
1161
1162 <para>
1163 If you have used the <emphasis role="bold">Create VM</emphasis>
1164 wizard to create a machine, you will normally see something like
1165 the following:
1166 </para>
1167
1168 <para>
1169 <mediaobject>
1170 <imageobject>
1171 <imagedata align="center" fileref="images/vm-settings-harddisk.png"
1172 width="10cm" />
1173 </imageobject>
1174 </mediaobject>
1175 </para>
1176
1177 <para>
1178 Depending on the guest operating system type that you selected
1179 when you created the VM, the typical layout of storage devices in
1180 a new VM is as follows:
1181 </para>
1182
1183 <itemizedlist>
1184
1185 <listitem>
1186 <para>
1187 You will see an <emphasis role="bold">IDE
1188 controller</emphasis>, to which a virtual CD/DVD drive has
1189 been attached to the "secondary master" port of the IDE
1190 controller.
1191 </para>
1192 </listitem>
1193
1194 <listitem>
1195 <para>
1196 You will also see a <emphasis role="bold">SATA
1197 controller</emphasis>, which is a more modern type of storage
1198 controller for higher hard disk data throughput, to which the
1199 virtual hard disks are attached. Initially you will normally
1200 have one such virtual disk, but as you can see in the above
1201 screenshot, you can have more than one. Each is represented by
1202 a disk image file, VDI files in this case.
1203 </para>
1204 </listitem>
1205
1206 </itemizedlist>
1207
1208 <para>
1209 If you created your VM with an older version of VirtualBox, the
1210 default storage layout may differ. You might then only have an IDE
1211 controller to which both the CD/DVD drive and the hard disks have
1212 been attached. This might also apply if you selected an older
1213 operating system type when you created the VM. Since older
1214 operating systems do not support SATA without additional drivers,
1215 VirtualBox will make sure that no such devices are present
1216 initially. See <xref
1217 linkend="harddiskcontrollers" />.
1218 </para>
1219
1220 <para>
1221 VirtualBox also provides a <emphasis role="bold">floppy
1222 controller</emphasis>. You cannot add devices other than floppy
1223 drives to this controller. Virtual floppy drives, like virtual
1224 CD/DVD drives, can be connected to either a host floppy drive, if
1225 you have one, or a disk image, which in this case must be in RAW
1226 format.
1227 </para>
1228
1229 <para>
1230 You can modify these media attachments freely. For example, if you
1231 wish to copy some files from another virtual disk that you
1232 created, you can connect that disk as a second hard disk, as in
1233 the above screenshot. You could also add a second virtual CD/DVD
1234 drive, or change where these items are attached. The following
1235 options are available:
1236 </para>
1237
1238 <itemizedlist>
1239
1240 <listitem>
1241 <para>
1242 To <emphasis role="bold">add another virtual hard disk, or a
1243 CD/DVD or floppy drive</emphasis>, select the storage
1244 controller to which it should be added (IDE, SATA, SCSI, SAS,
1245 floppy controller) and then click on the
1246 <emphasis role="bold">Add Disk</emphasis> button below the
1247 tree. You can then either select <emphasis role="bold">Add
1248 CD/DVD Device</emphasis> or <emphasis role="bold">Add Hard
1249 Disk</emphasis>. If you clicked on a floppy controller, you
1250 can add a floppy drive instead. Alternatively, right-click on
1251 the storage controller and select a menu item there.
1252 </para>
1253
1254 <para>
1255 On the right part of the window, you can then set the
1256 following:
1257 </para>
1258
1259 <orderedlist>
1260
1261 <listitem>
1262 <para>
1263 You can then select to which
1264 <emphasis
1265 role="bold">device
1266 slot</emphasis> of the controller the virtual disk should
1267 be connected to. IDE controllers have four slots which
1268 have traditionally been called "primary master", "primary
1269 slave", "secondary master" and "secondary slave". By
1270 contrast, SATA and SCSI controllers offer you up to 30
1271 slots to which virtual devices can be attached.
1272 </para>
1273 </listitem>
1274
1275 <listitem>
1276 <para>
1277 You can select which <emphasis role="bold">image
1278 file</emphasis> to use.
1279 </para>
1280
1281 <itemizedlist>
1282
1283 <listitem>
1284 <para>
1285 For virtual hard disks, a button with a drop-down list
1286 appears on the right, offering you to either select a
1287 <emphasis role="bold">virtual hard disk
1288 file</emphasis> using a standard file dialog or to
1289 <emphasis role="bold">create a new hard
1290 disk</emphasis> (image file). The latter option
1291 displays the <emphasis role="bold">Create New
1292 Disk</emphasis> wizard, described in
1293 <xref
1294 linkend="gui-createvm" />.
1295 </para>
1296
1297 <para>
1298 For details on the image file types that are
1299 supported, see
1300 <xref
1301 linkend="vdidetails" />.
1302 </para>
1303 </listitem>
1304
1305 <listitem>
1306 <para>
1307 For virtual CD/DVD drives, the image files will
1308 typically be in the standard ISO format instead. Most
1309 commonly, you will select this option when installing
1310 an operating system from an ISO file that you have
1311 obtained from the Internet. For example, most Linux
1312 distributions are available in this way.
1313 </para>
1314
1315 <para>
1316 For virtual CD/DVD drives, the following additional
1317 options are available:
1318 </para>
1319
1320 <itemizedlist>
1321
1322 <listitem>
1323 <para>
1324 If you select <emphasis role="bold">Host
1325 Drive</emphasis> from the list, then the physical
1326 device of the host computer is connected to the
1327 VM, so that the guest operating system can read
1328 from and write to your physical device. This is,
1329 for instance, useful if you want to install
1330 Windows from a real installation CD. In this case,
1331 select your host drive from the drop-down list
1332 presented.
1333 </para>
1334
1335 <para>
1336 If you want to write (burn) CDs or DVDs using the
1337 host drive, you need to also enable the
1338 <emphasis role="bold">Passthrough</emphasis>
1339 option. See <xref linkend="storage-cds" />.
1340 </para>
1341 </listitem>
1342
1343 <listitem>
1344 <para>
1345 If you select <emphasis role="bold">Remove Disk
1346 from Virtual Drive</emphasis>, VirtualBox will
1347 present an empty CD/DVD drive to the guest into
1348 which no media has been inserted.
1349 </para>
1350 </listitem>
1351
1352 </itemizedlist>
1353 </listitem>
1354
1355 </itemizedlist>
1356 </listitem>
1357
1358 </orderedlist>
1359 </listitem>
1360
1361 <listitem>
1362 <para>
1363 To <emphasis role="bold">remove an attachment</emphasis>,
1364 either select it and click on the
1365 <emphasis role="bold">Remove</emphasis> icon at the bottom, or
1366 right-click on it and select the menu item.
1367 </para>
1368 </listitem>
1369
1370 </itemizedlist>
1371
1372 <para>
1373 Removable media, such as CD/DVDs and floppies, can be changed
1374 while the guest is running. Since the Settings dialog is not
1375 available at that time, you can also access these settings from
1376 the <emphasis role="bold">Devices</emphasis> menu of your virtual
1377 machine window.
1378 </para>
1379
1380 </sect1>
1381
1382 <sect1 id="settings-audio">
1383
1384 <title>Audio Settings</title>
1385
1386 <para>
1387 The Audio section in a virtual machine's Settings window
1388 determines whether the VM will see a sound card connected, and
1389 whether the audio output should be heard on the host system.
1390 </para>
1391
1392 <para>
1393 If audio is enabled for a guest, you can choose between the
1394 emulation of an Intel AC'97 controller, an Intel HD Audio
1395 controller
1396
1397 <footnote>
1398
1399 <para>
1400 Intel HD Audio support was added with VirtualBox 4.0 because
1401 Windows 7 and later (as well as 64-bit Windows Vista) do not
1402 support the Intel AC'97 controller out of the box.
1403 </para>
1404
1405 </footnote>
1406
1407 or a SoundBlaster 16 card. In any case, you can select what audio
1408 driver VirtualBox will use on the host.
1409 </para>
1410
1411 <para>
1412 On a Linux host, depending on your host configuration, you can
1413 also select between the OSS, ALSA, or the PulseAudio subsystem. On
1414 newer Linux distributions, the PulseAudio subsystem should be
1415 preferred.
1416 </para>
1417
1418 <para>
1419 Since VirtualBox 5.0 only OSS is supported on Solaris hosts. The
1420 "Solaris Audio" audio backend is no longer supported on Solaris
1421 hosts.
1422 </para>
1423
1424 </sect1>
1425
1426 <sect1 id="settings-network">
1427
1428 <title>Network Settings</title>
1429
1430 <para>
1431 The Network section in a virtual machine's Settings window enables
1432 you to configure how VirtualBox presents virtual network cards to
1433 your VM, and how they operate.
1434 </para>
1435
1436 <para>
1437 When you first create a virtual machine, VirtualBox by default
1438 enables one virtual network card and selects the Network Address
1439 Translation (NAT) mode for it. This way the guest can connect to
1440 the outside world using the host's networking and the outside
1441 world can connect to services on the guest which you choose to
1442 make visible outside of the virtual machine.
1443 </para>
1444
1445 <para>
1446 This default setup is good for the majority of VirtualBox users.
1447 However, VirtualBox is extremely flexible in how it can virtualize
1448 networking. It supports many virtual network cards per virtual
1449 machine, the first four of which can be configured in detail in
1450 the Manager window. Additional network cards can be configured on
1451 the command line with VBoxManage.
1452 </para>
1453
1454 <para>
1455 Because of the vast array of options available, we have dedicated
1456 an entire chapter of this manual to discussing networking
1457 configuration. See <xref linkend="networkingdetails" />.
1458 </para>
1459
1460 </sect1>
1461
1462 <sect1 id="serialports">
1463
1464 <title>Serial Ports</title>
1465
1466 <para>
1467 VirtualBox fully supports virtual serial ports in a virtual
1468 machine in an easy-to-use manner.
1469
1470 <footnote>
1471
1472 <para>
1473 Serial port support was added with VirtualBox 1.5.
1474 </para>
1475
1476 </footnote>
1477 </para>
1478
1479 <para>
1480 Ever since the original IBM PC, personal computers have been
1481 equipped with one or two serial ports, also called COM ports by
1482 DOS and Windows. Serial ports were commonly used with modems, and
1483 some computer mice used to be connected to serial ports before USB
1484 became commonplace.
1485 </para>
1486
1487 <para>
1488 While serial ports are no longer as ubiquitous as they used to be,
1489 there are still some important uses left for them. For example,
1490 serial ports can be used to set up a primitive network over a
1491 null-modem cable, in case Ethernet is not available. Also, serial
1492 ports are indispensable for system programmers needing to do
1493 kernel debugging, since kernel debugging software usually
1494 interacts with developers over a serial port. With virtual serial
1495 ports, system programmers can do kernel debugging on a virtual
1496 machine instead of needing a real computer to connect to.
1497 </para>
1498
1499 <para>
1500 If a virtual serial port is enabled, the guest operating system
1501 sees a standard 16550A compatible UART device. Both receiving and
1502 transmitting data is supported. How this virtual serial port is
1503 then connected to the host is configurable, and the details depend
1504 on your host operating system.
1505 </para>
1506
1507 <para>
1508 You can use either the graphical user interface or the
1509 command-line <computeroutput>VBoxManage</computeroutput> tool to
1510 set up virtual serial ports. For the latter, see
1511 <xref
1512 linkend="vboxmanage-modifyvm" /> for information on the
1513 <computeroutput>--uart</computeroutput> and
1514 <computeroutput>--uartmode</computeroutput> options.
1515 </para>
1516
1517 <para>
1518 In either case, you can configure up to four virtual serial ports
1519 per virtual machine. For each such device, you will need to
1520 determine the following:
1521 </para>
1522
1523 <orderedlist>
1524
1525 <listitem>
1526 <para>
1527 What kind of serial port the virtual machine should see, by
1528 selecting an I/O base address and interrupt (IRQ). For these,
1529 we recommend you use the traditional values, as follows:
1530
1531 <footnote>
1532
1533 <para>
1534 See, for example,
1535 <ulink
1536 url="http://en.wikipedia.org/wiki/COM_(hardware_interface)">http://en.wikipedia.org/wiki/COM_(hardware_interface)</ulink>.
1537 </para>
1538
1539 </footnote>
1540 </para>
1541
1542 <itemizedlist>
1543
1544 <listitem>
1545 <para>
1546 COM1: I/O base 0x3F8, IRQ 4
1547 </para>
1548 </listitem>
1549
1550 <listitem>
1551 <para>
1552 COM2: I/O base 0x2F8, IRQ 3
1553 </para>
1554 </listitem>
1555
1556 <listitem>
1557 <para>
1558 COM3: I/O base 0x3E8, IRQ 4
1559 </para>
1560 </listitem>
1561
1562 <listitem>
1563 <para>
1564 COM4: I/O base 0x2E8, IRQ 3
1565 </para>
1566 </listitem>
1567
1568 </itemizedlist>
1569 </listitem>
1570
1571 <listitem>
1572 <para>
1573 Then, you will need to determine what this virtual port should
1574 be connected to. For each virtual serial port, you have the
1575 following options:
1576 </para>
1577
1578 <itemizedlist>
1579
1580 <listitem>
1581 <para>
1582 You can configure the virtual serial port to be
1583 "disconnected". This means that the guest will see the
1584 device, but it will behave as if no cable had been
1585 connected to it.
1586 </para>
1587 </listitem>
1588
1589 <listitem>
1590 <para>
1591 You can connect the virtual serial port to a physical
1592 serial port on your host. On a Windows host, this will be
1593 a name like <computeroutput>COM1</computeroutput>. On
1594 Linux or Solaris hosts, it will be a device node like
1595 <computeroutput>/dev/ttyS0</computeroutput>. VirtualBox
1596 will then simply redirect all data received from and sent
1597 to the virtual serial port to the physical device.
1598 </para>
1599 </listitem>
1600
1601 <listitem>
1602 <para>
1603 You can tell VirtualBox to connect the virtual serial port
1604 to a software pipe on the host. This depends on your host
1605 operating system, as follows:
1606 </para>
1607
1608 <itemizedlist>
1609
1610 <listitem>
1611 <para>
1612 On a Windows host, data will be sent and received
1613 through a named pipe. The pipe name must be in the
1614 format
1615 <computeroutput>\\.\pipe\&lt;name&gt;</computeroutput>
1616 where <computeroutput>&lt;name&gt;</computeroutput>
1617 should identify the virtual machine but may be freely
1618 chosen.
1619 </para>
1620 </listitem>
1621
1622 <listitem>
1623 <para>
1624 On a Mac, Linux, or Solaris host, a local domain
1625 socket is used instead. The socket filename must be
1626 chosen such that the user running VirtualBox has
1627 sufficient privileges to create and write to it. The
1628 <computeroutput>/tmp</computeroutput> directory is
1629 often a good candidate.
1630 </para>
1631
1632 <para>
1633 On Linux there are various tools which can connect to
1634 a local domain socket or create one in server mode.
1635 The most flexible tool is
1636 <computeroutput>socat</computeroutput> and is
1637 available as part of many distributions.
1638 </para>
1639 </listitem>
1640
1641 </itemizedlist>
1642
1643 <para>
1644 In this case, you can configure whether VirtualBox should
1645 create the named pipe (or, on non-Windows hosts, the local
1646 domain socket) itself or whether VirtualBox should assume
1647 that the pipe or socket exists already. With the
1648 <computeroutput>VBoxManage</computeroutput> command-line
1649 options, this is referred to as "server" or "client" mode,
1650 respectively.
1651 </para>
1652
1653 <para>
1654 For a direct connection between two virtual machines,
1655 corresponding to a null-modem cable, simply configure one
1656 VM to create a pipe/socket and another to attach to it.
1657 </para>
1658 </listitem>
1659
1660 <listitem>
1661 <para>
1662 You can send the virtual serial port output to a file.
1663 This option is very useful for capturing diagnostic output
1664 from a guest. Any file may be used for this purpose, as
1665 long as the user running VirtualBox has sufficient
1666 privileges to create and write to the file.
1667 </para>
1668 </listitem>
1669
1670 <listitem>
1671 <para>
1672 TCP Socket: Useful for forwarding serial traffic over
1673 TCP/IP, acting as a server, or it can act as a TCP client
1674 connecting to other servers. It allows a remote machine to
1675 directly connect to the guest's serial port via TCP.
1676 </para>
1677
1678 <itemizedlist>
1679
1680 <listitem>
1681 <para>
1682 TCP Server: Uncheck the <emphasis>Connect to existing
1683 pipe/socket</emphasis> checkbox and specify the
1684 <emphasis role="bold"><computeroutput>port</computeroutput></emphasis>
1685 number. Typically 23 or 2023. Note that on UNIX-like
1686 systems you will have to use a port a number greater
1687 than 1024 for regular users.
1688 </para>
1689
1690 <para>
1691 The client can use software such as
1692 <computeroutput>PuTTY</computeroutput> or the
1693 <computeroutput>telnet</computeroutput> command line
1694 tool to access the TCP Server.
1695 </para>
1696 </listitem>
1697
1698 <listitem>
1699 <para>
1700 TCP Client: To create a virtual null-modem cable over
1701 the Internet or LAN, the other side can connect via
1702 TCP by specifying
1703 <computeroutput>hostname:port</computeroutput>. The
1704 TCP socket will act in client mode if you check the
1705 <emphasis role="bold">Connect to existing
1706 pipe/socket</emphasis> checkbox.
1707 </para>
1708 </listitem>
1709
1710 </itemizedlist>
1711 </listitem>
1712
1713 </itemizedlist>
1714 </listitem>
1715
1716 </orderedlist>
1717
1718 <para>
1719 Up to four serial ports can be configured per virtual machine, but
1720 you can pick any port numbers out of the above. However, serial
1721 ports cannot reliably share interrupts; if both ports are to be
1722 used at the same time, they must use different interrupt levels,
1723 for example COM1 and COM2, but not COM1 and COM3.
1724 </para>
1725
1726 </sect1>
1727
1728 <sect1 id="usb-support">
1729
1730 <title>USB Support</title>
1731
1732 <sect2 id="settings-usb">
1733
1734 <title>USB Settings</title>
1735
1736 <para>
1737 The USB section in a virtual machine's Settings window enables
1738 you to configure VirtualBox's sophisticated USB support.
1739 </para>
1740
1741 <para>
1742 VirtualBox can enable virtual machines to access the USB devices
1743 on your host directly. To achieve this, VirtualBox presents the
1744 guest operating system with a virtual USB controller. As soon as
1745 the guest system starts using a USB device, it will appear as
1746 unavailable on the host.
1747 </para>
1748
1749 <note>
1750 <itemizedlist>
1751
1752 <listitem>
1753 <para>
1754 Be careful with USB devices that are currently in use on
1755 the host! For example, if you allow your guest to connect
1756 to your USB hard disk that is currently mounted on the
1757 host, when the guest is activated, it will be disconnected
1758 from the host without a proper shutdown. This may cause
1759 data loss.
1760 </para>
1761 </listitem>
1762
1763 <listitem>
1764 <para>
1765 Solaris hosts have a few known limitations regarding USB
1766 support. See <xref linkend="KnownIssues" />.
1767 </para>
1768 </listitem>
1769
1770 </itemizedlist>
1771 </note>
1772
1773 <para>
1774 In addition to allowing a guest access to your local USB
1775 devices, VirtualBox even allows your guests to connect to remote
1776 USB devices by use of the VirtualBox Remote Desktop Extension
1777 (VRDE). See <xref linkend="usb-over-rdp" />.
1778 </para>
1779
1780 <para>
1781 In the Settings dialog, you can first configure whether USB is
1782 available in the guest at all, and then choose the level of USB
1783 support: OHCI for USB 1.1, EHCI (which will also enable OHCI)
1784 for USB 2.0, or xHCI for all USB speeds.
1785 </para>
1786
1787 <note>
1788 <para>
1789 The xHCI and EHCI controllers are shipped as a VirtualBox
1790 extension package, which must be installed separately. See
1791 <xref
1792 linkend="intro-installing" />.
1793 </para>
1794 </note>
1795
1796 <para>
1797 When USB support is enabled for a VM, you can determine in
1798 detail which devices will be automatically attached to the
1799 guest. For this, you can create so-called "filters" by
1800 specifying certain properties of the USB device. USB devices
1801 with a matching filter will be automatically passed to the guest
1802 once they are attached to the host. USB devices without a
1803 matching filter can be passed manually to the guest, for example
1804 by using the <emphasis role="bold">Devices</emphasis>,
1805 <emphasis role="bold">USB</emphasis> menu.
1806 </para>
1807
1808 <para>
1809 Clicking on the <emphasis role="bold">+</emphasis> button to the
1810 right of the <emphasis role="bold">USB Device Filters</emphasis>
1811 window creates a new filter. You can give the filter a name, for
1812 later reference, and specify the filter criteria. The more
1813 criteria you specify, the more precisely devices will be
1814 selected. For instance, if you specify only a vendor ID of 046d,
1815 all devices produced by Logitech will be available to the guest.
1816 If you fill in all fields, on the other hand, the filter will
1817 only apply to a particular device model from a particular
1818 vendor, and not even to other devices of the same type with a
1819 different revision and serial number.
1820 </para>
1821
1822 <para>
1823 In detail, the following criteria are available:
1824 </para>
1825
1826 <itemizedlist>
1827
1828 <listitem>
1829 <para>
1830 <emphasis role="bold">Vendor and product ID</emphasis>. With
1831 USB, each vendor of USB products carries an identification
1832 number that is unique world-wide, called the
1833 <emphasis>vendor ID</emphasis>. Similarly, each line of
1834 products is assigned a <emphasis>product ID</emphasis>
1835 number. Both numbers are commonly written in hexadecimal
1836 (that is, they are composed of the numbers 0-9 and the
1837 letters A-F), and a colon separates the vendor from the
1838 product ID. For example,
1839 <computeroutput>046d:c016</computeroutput> stands for
1840 Logitech as a vendor, and the M-UV69a Optical Wheel Mouse
1841 product.
1842 </para>
1843
1844 <para>
1845 Alternatively, you can also specify
1846 <emphasis
1847 role="bold">Manufacturer</emphasis> and
1848 <emphasis
1849 role="bold">Product</emphasis> by name.
1850 </para>
1851
1852 <para>
1853 To list all the USB devices that are connected to your host
1854 machine with their respective vendor IDs and product IDs,
1855 use the following command:
1856
1857<screen>VBoxManage list usbhost</screen>
1858 </para>
1859
1860 <para>
1861 On Windows, you can also see all USB devices that are
1862 attached to your system in the Device Manager. On Linux, you
1863 can use the <computeroutput>lsusb</computeroutput> command.
1864 </para>
1865 </listitem>
1866
1867 <listitem>
1868 <para>
1869 <emphasis role="bold">Serial number</emphasis>. While vendor
1870 ID and product ID are quite specific to identify USB
1871 devices, if you have two identical devices of the same brand
1872 and product line, you will also need their serial numbers to
1873 filter them out correctly.
1874 </para>
1875 </listitem>
1876
1877 <listitem>
1878 <para>
1879 <emphasis role="bold">Remote</emphasis>. This setting
1880 specifies whether the device will be local only, remote only
1881 (such as over VRDP), or either.
1882 </para>
1883 </listitem>
1884
1885 </itemizedlist>
1886
1887 <para>
1888 On a Windows host, you will need to unplug and reconnect a USB
1889 device to use it after creating a filter for it.
1890 </para>
1891
1892 <para>
1893 As an example, you could create a new USB filter and specify a
1894 vendor ID of 046d (Logitech, Inc), a manufacturer index of 1,
1895 and "not remote". Then any USB devices on the host system
1896 produced by Logitech, Inc with a manufacturer index of 1 will be
1897 visible to the guest system.
1898 </para>
1899
1900 <para>
1901 Several filters can select a single device. For example, a
1902 filter which selects all Logitech devices, and one which selects
1903 a particular webcam.
1904 </para>
1905
1906 <para>
1907 You can deactivate filters without deleting them by clicking in
1908 the checkbox next to the filter name.
1909 </para>
1910
1911 </sect2>
1912
1913 <sect2 id="usb-implementation-notes">
1914
1915 <title>Implementation Notes for Windows and Linux Hosts</title>
1916
1917 <para>
1918 On Windows hosts, a kernel mode device driver provides USB proxy
1919 support. It implements both a USB monitor, which allows
1920 VirtualBox to capture devices when they are plugged in, and a
1921 USB device driver to claim USB devices for a particular virtual
1922 machine. As opposed to VirtualBox versions before 1.4.0, system
1923 reboots are no longer necessary after installing the driver.
1924 Also, you no longer need to replug devices for VirtualBox to
1925 claim them.
1926 </para>
1927
1928 <para>
1929 On newer Linux hosts, VirtualBox accesses USB devices through
1930 special files in the file system. When VirtualBox is installed,
1931 these are made available to all users in the
1932 <computeroutput>vboxusers</computeroutput> system group. In
1933 order to be able to access USB from guest systems, make sure
1934 that you are a member of this group.
1935 </para>
1936
1937 <para>
1938 On older Linux hosts, USB devices are accessed using the
1939 <computeroutput>usbfs</computeroutput> file system. Therefore,
1940 the user executing VirtualBox needs read and write permission to
1941 the USB file system. Most distributions provide a group (e.g.
1942 <computeroutput>usbusers</computeroutput>) which the VirtualBox
1943 user needs to be added to. Also, VirtualBox can only proxy to
1944 virtual machines USB devices which are not claimed by a Linux
1945 host USB driver. The <computeroutput>Driver=</computeroutput>
1946 entry in <computeroutput>/proc/bus/usb/devices</computeroutput>
1947 will show you which devices are currently claimed. See also
1948 <xref
1949 linkend="ts_usb-linux" /> for details about
1950 <computeroutput>usbfs</computeroutput>.
1951 </para>
1952
1953 </sect2>
1954
1955 </sect1>
1956
1957 <sect1 id="shared-folders">
1958
1959 <title>Shared Folders</title>
1960
1961 <para>
1962 Shared folders enable you to easily exchange data between a
1963 virtual machine and your host. This feature requires that the
1964 VirtualBox Guest Additions be installed in a virtual machine and
1965 is described in detail in <xref linkend="sharedfolders" />.
1966 </para>
1967
1968 </sect1>
1969
1970 <sect1 id="user-interface">
1971
1972 <title>User Interface</title>
1973
1974 <para>
1975 The User Interface section allows you to change certain aspects of
1976 the user interface of this VM.
1977 </para>
1978
1979 <itemizedlist>
1980
1981 <listitem>
1982 <para>
1983 <emphasis role="bold">Menu Bar:</emphasis> This widget enables
1984 you to disable menus by clicking on the menu to release it,
1985 menu entries by unchecking the checkbox of the entry to
1986 disable it and the complete menu bar by unchecking the
1987 rightmost checkbox.
1988 </para>
1989 </listitem>
1990
1991 <listitem>
1992 <para>
1993 <emphasis role="bold">Mini ToolBar:</emphasis> In full screen
1994 or seamless mode, VirtualBox can display a small toolbar that
1995 contains some of the items that are normally available from
1996 the virtual machine's menu bar. This toolbar reduces itself to
1997 a small gray line unless you move the mouse over it. With the
1998 toolbar, you can return from full screen or seamless mode,
1999 control machine execution or enable certain devices. If you do
2000 not want to see the toolbar, disable this setting.
2001 </para>
2002
2003 <para>
2004 The second setting enables you to show the toolbar at the top
2005 of the screen, instead of showing it at the bottom.
2006 </para>
2007 </listitem>
2008
2009 <listitem>
2010 <para>
2011 <emphasis role="bold">Status Bar:</emphasis> This widget
2012 allows you to disable icons on the status bar by unchecking
2013 the checkbox of an icon to disable it, to rearrange icons by
2014 dragging and dropping the icon, and to disable the complete
2015 status bar by unchecking the leftmost checkbox.
2016 </para>
2017 </listitem>
2018
2019 </itemizedlist>
2020
2021 </sect1>
2022
2023 <sect1 id="efi">
2024
2025 <title>Alternative Firmware (EFI)</title>
2026
2027 <para>
2028 Starting with release 3.1, VirtualBox includes experimental
2029 support for the Extensible Firmware Interface (EFI), which is a
2030 new industry standard intended to eventually replace the legacy
2031 BIOS as the primary interface for bootstrapping computers and
2032 certain system services later.
2033 </para>
2034
2035 <para>
2036 By default, VirtualBox uses the BIOS firmware for virtual
2037 machines. To use EFI for a given virtual machine, you can enable
2038 EFI in the machine's Settings dialog. See
2039 <xref linkend="settings-motherboard" />. Alternatively, use the
2040 <computeroutput>VBoxManage</computeroutput> command line interface
2041 as follows:
2042 </para>
2043
2044<screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
2045
2046 <para>
2047 To switch back to using the BIOS:
2048 </para>
2049
2050<screen>VBoxManage modifyvm "VM name" --firmware bios</screen>
2051
2052 <para>
2053 One notable user of EFI is Apple's Mac OS X, but more recent
2054 Linuxes and Windows, starting with Vista, offer special versions
2055 that can be booted using EFI as well.
2056 </para>
2057
2058 <para>
2059 Another possible use of EFI in VirtualBox is development and
2060 testing of EFI applications, without booting any OS.
2061 </para>
2062
2063 <para>
2064 Note that the VirtualBox EFI support is experimental and will be
2065 enhanced as EFI matures and becomes more widespread. Mac OS X,
2066 Linux, and newer Windows guests are known to work fine. Windows 7
2067 guests are unable to boot with the VirtualBox EFI implementation.
2068 </para>
2069
2070 <sect2 id="efividmode">
2071
2072 <title>Video Modes in EFI</title>
2073
2074 <para>
2075 EFI provides two distinct video interfaces: GOP (Graphics Output
2076 Protocol) and UGA (Universal Graphics Adapter). Modern operating
2077 systems, such as Mac OS X, generally use GOP, while some older
2078 ones still use UGA. VirtualBox provides a configuration option
2079 to control the graphics resolution for both interfaces, making
2080 the difference mostly irrelevant for users.
2081 </para>
2082
2083 <para>
2084 The default resolution is 1024x768. To select a graphics
2085 resolution for EFI, use the following
2086 <computeroutput>VBoxManage</computeroutput> command:
2087 </para>
2088
2089<screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGraphicsResolution HxV</screen>
2090
2091 <para>
2092 Determine the horizontal resolution H and the vertical
2093 resolution V from the following list of default resolutions:
2094 </para>
2095
2096 <variablelist>
2097
2098 <varlistentry>
2099 <term>
2100 VGA
2101 </term>
2102
2103 <listitem>
2104 <para>
2105 640x480, 32bpp, 4:3
2106 </para>
2107 </listitem>
2108 </varlistentry>
2109
2110 <varlistentry>
2111 <term>
2112 SVGA
2113 </term>
2114
2115 <listitem>
2116 <para>
2117 800x600, 32bpp, 4:3
2118 </para>
2119 </listitem>
2120 </varlistentry>
2121
2122 <varlistentry>
2123 <term>
2124 XGA
2125 </term>
2126
2127 <listitem>
2128 <para>
2129 1024x768, 32bpp, 4:3
2130 </para>
2131 </listitem>
2132 </varlistentry>
2133
2134 <varlistentry>
2135 <term>
2136 XGA+
2137 </term>
2138
2139 <listitem>
2140 <para>
2141 1152x864, 32bpp, 4:3
2142 </para>
2143 </listitem>
2144 </varlistentry>
2145
2146 <varlistentry>
2147 <term>
2148 HD
2149 </term>
2150
2151 <listitem>
2152 <para>
2153 1280x720, 32bpp, 16:9
2154 </para>
2155 </listitem>
2156 </varlistentry>
2157
2158 <varlistentry>
2159 <term>
2160 WXGA
2161 </term>
2162
2163 <listitem>
2164 <para>
2165 1280x800, 32bpp, 16:10
2166 </para>
2167 </listitem>
2168 </varlistentry>
2169
2170 <varlistentry>
2171 <term>
2172 SXGA
2173 </term>
2174
2175 <listitem>
2176 <para>
2177 1280x1024, 32bpp, 5:4
2178 </para>
2179 </listitem>
2180 </varlistentry>
2181
2182 <varlistentry>
2183 <term>
2184 SXGA+
2185 </term>
2186
2187 <listitem>
2188 <para>
2189 1400x1050, 32bpp, 4:3
2190 </para>
2191 </listitem>
2192 </varlistentry>
2193
2194 <varlistentry>
2195 <term>
2196 WXGA+
2197 </term>
2198
2199 <listitem>
2200 <para>
2201 1440x900, 32bpp, 16:10
2202 </para>
2203 </listitem>
2204 </varlistentry>
2205
2206 <varlistentry>
2207 <term>
2208 HD+
2209 </term>
2210
2211 <listitem>
2212 <para>
2213 1600x900, 32bpp, 16:9
2214 </para>
2215 </listitem>
2216 </varlistentry>
2217
2218 <varlistentry>
2219 <term>
2220 UXGA
2221 </term>
2222
2223 <listitem>
2224 <para>
2225 1600x1200, 32bpp, 4:3
2226 </para>
2227 </listitem>
2228 </varlistentry>
2229
2230 <varlistentry>
2231 <term>
2232 WSXGA+
2233 </term>
2234
2235 <listitem>
2236 <para>
2237 1680x1050, 32bpp, 16:10
2238 </para>
2239 </listitem>
2240 </varlistentry>
2241
2242 <varlistentry>
2243 <term>
2244 Full HD
2245 </term>
2246
2247 <listitem>
2248 <para>
2249 1920x1080, 32bpp, 16:9
2250 </para>
2251 </listitem>
2252 </varlistentry>
2253
2254 <varlistentry>
2255 <term>
2256 WUXGA
2257 </term>
2258
2259 <listitem>
2260 <para>
2261 1920x1200, 32bpp, 16:10
2262 </para>
2263 </listitem>
2264 </varlistentry>
2265
2266 <varlistentry>
2267 <term>
2268 DCI 2K
2269 </term>
2270
2271 <listitem>
2272 <para>
2273 2048x1080, 32bpp, 19:10
2274 </para>
2275 </listitem>
2276 </varlistentry>
2277
2278 <varlistentry>
2279 <term>
2280 Full HD+
2281 </term>
2282
2283 <listitem>
2284 <para>
2285 2160x1440, 32bpp, 3:2
2286 </para>
2287 </listitem>
2288 </varlistentry>
2289
2290 <varlistentry>
2291 <term>
2292 Unnamed
2293 </term>
2294
2295 <listitem>
2296 <para>
2297 2304x1440, 32bpp, 16:10
2298 </para>
2299 </listitem>
2300 </varlistentry>
2301
2302 <varlistentry>
2303 <term>
2304 QHD
2305 </term>
2306
2307 <listitem>
2308 <para>
2309 2560x1440, 32bpp, 16:9
2310 </para>
2311 </listitem>
2312 </varlistentry>
2313
2314 <varlistentry>
2315 <term>
2316 WQXGA
2317 </term>
2318
2319 <listitem>
2320 <para>
2321 2560x1600, 32bpp, 16:10
2322 </para>
2323 </listitem>
2324 </varlistentry>
2325
2326 <varlistentry>
2327 <term>
2328 QWXGA+
2329 </term>
2330
2331 <listitem>
2332 <para>
2333 2880x1800, 32bpp, 16:10
2334 </para>
2335 </listitem>
2336 </varlistentry>
2337
2338 <varlistentry>
2339 <term>
2340 QHD+
2341 </term>
2342
2343 <listitem>
2344 <para>
2345 3200x1800, 32bpp, 16:9
2346 </para>
2347 </listitem>
2348 </varlistentry>
2349
2350 <varlistentry>
2351 <term>
2352 WQSXGA
2353 </term>
2354
2355 <listitem>
2356 <para>
2357 3200x2048, 32bpp, 16:10
2358 </para>
2359 </listitem>
2360 </varlistentry>
2361
2362 <varlistentry>
2363 <term>
2364 4K UHD
2365 </term>
2366
2367 <listitem>
2368 <para>
2369 3840x2160, 32bpp, 16:9
2370 </para>
2371 </listitem>
2372 </varlistentry>
2373
2374 <varlistentry>
2375 <term>
2376 WQUXGA
2377 </term>
2378
2379 <listitem>
2380 <para>
2381 3840x2400, 32bpp, 16:10
2382 </para>
2383 </listitem>
2384 </varlistentry>
2385
2386 <varlistentry>
2387 <term>
2388 DCI 4K
2389 </term>
2390
2391 <listitem>
2392 <para>
2393 4096x2160, 32bpp, 19:10
2394 </para>
2395 </listitem>
2396 </varlistentry>
2397
2398 <varlistentry>
2399 <term>
2400 HXGA
2401 </term>
2402
2403 <listitem>
2404 <para>
2405 4096x3072, 32bpp, 4:3
2406 </para>
2407 </listitem>
2408 </varlistentry>
2409
2410 <varlistentry>
2411 <term>
2412 UHD+
2413 </term>
2414
2415 <listitem>
2416 <para>
2417 5120x2880, 32bpp, 16:9
2418 </para>
2419 </listitem>
2420 </varlistentry>
2421
2422 <varlistentry>
2423 <term>
2424 WHXGA
2425 </term>
2426
2427 <listitem>
2428 <para>
2429 5120x3200, 32bpp, 16:10
2430 </para>
2431 </listitem>
2432 </varlistentry>
2433
2434 <varlistentry>
2435 <term>
2436 WHSXGA
2437 </term>
2438
2439 <listitem>
2440 <para>
2441 6400x4096, 32bpp, 16:10
2442 </para>
2443 </listitem>
2444 </varlistentry>
2445
2446 <varlistentry>
2447 <term>
2448 HUXGA
2449 </term>
2450
2451 <listitem>
2452 <para>
2453 6400x4800, 32bpp, 4:3
2454 </para>
2455 </listitem>
2456 </varlistentry>
2457
2458 <varlistentry>
2459 <term>
2460 8K UHD2
2461 </term>
2462
2463 <listitem>
2464 <para>
2465 7680x4320, 32bpp, 16:9
2466 </para>
2467 </listitem>
2468 </varlistentry>
2469
2470 </variablelist>
2471
2472 <para>
2473 If this list of default resolution does not cover your needs,
2474 see <xref linkend="customvesa" />. Note that the color depth
2475 value specified in a custom video mode must be specified (8, 16,
2476 24 and 32 are accepted), but it is silently assumed to be 32 by
2477 EFI.
2478 </para>
2479
2480 <para>
2481 The EFI default video resolution settings can only be changed
2482 when the VM is powered off.
2483 </para>
2484
2485 </sect2>
2486
2487 <sect2 id="efibootargs">
2488
2489 <title>Specifying Boot Arguments</title>
2490
2491 <para>
2492 It is currently not possible to manipulate EFI variables from
2493 within a running guest. For example, setting the "boot-args"
2494 variable by running the <computeroutput>nvram</computeroutput>
2495 tool in a Mac OS X guest will not work. As an alternative way,
2496 "VBoxInternal2/EfiBootArgs" extradata can be passed to a VM in
2497 order to set the "boot-args" variable. To change the "boot-args"
2498 EFI variable:
2499
2500<screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiBootArgs &lt;value&gt;</screen>
2501 </para>
2502
2503 </sect2>
2504
2505 </sect1>
2506
2507</chapter>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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