VirtualBox

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

最後變更 在這個檔案從96388是 96301,由 vboxsync 提交於 3 年 前

doc: comment fixes

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Id Revision
檔案大小: 96.2 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2006-2022 Oracle Corporation
4
5 This file is part of VirtualBox Open Source Edition (OSE), as
6 available from http://www.alldomusa.eu.org. This file is free software;
7 you can redistribute it and/or modify it under the terms of the GNU
8 General Public License (GPL) as published by the Free Software
9 Foundation, in version 2 as it comes in the "COPYING" file of the
10 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
11 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
12-->
13<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
14"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
15<!ENTITY % all.entities SYSTEM "all-entities.ent">
16%all.entities;
17]>
18<chapter id="BasicConcepts">
19
20 <title>Configuring Virtual Machines</title>
21
22 <para>
23 This chapter provides detailed steps for configuring an
24 &product-name; virtual machine (VM). For an introduction to
25 &product-name; and steps to get your first virtual machine running,
26 see <xref linkend="Introduction" />.
27 </para>
28
29 <para>
30 You have considerable latitude when deciding what virtual hardware
31 to provide to the guest. Use virtual hardware to communicate with
32 the host system or with other guests. For example, you can use
33 virtual hardware in the following ways:
34 </para>
35
36 <itemizedlist>
37
38 <listitem>
39 <para>
40 Have &product-name; present an ISO CD-ROM image to a guest
41 system as if it were a physical CD-ROM.
42 </para>
43 </listitem>
44
45 <listitem>
46 <para>
47 Provide a guest system access to the physical network through
48 its virtual network card.
49 </para>
50 </listitem>
51
52 <listitem>
53 <para>
54 Provide the host system, other guests, and computers on the
55 Internet access to the guest system.
56 </para>
57 </listitem>
58
59 </itemizedlist>
60
61 <sect1 id="guestossupport">
62
63 <title>Supported Guest Operating Systems</title>
64
65 <para>
66 Because &product-name; is designed to provide a generic
67 virtualization environment for x86 systems, it can run guest
68 operating systems (OSes) of any kind.
69 </para>
70
71 <para>
72 The following guest OS platforms are supported:
73 </para>
74
75 <itemizedlist>
76
77 <listitem>
78 <para>
79 <emphasis role="bold">Platforms With Full Support.</emphasis>
80 These guest OS platforms qualify for Oracle Premier Support.
81 See <xref linkend="table-premier-support"/>.
82 </para>
83 </listitem>
84
85 <listitem>
86 <para>
87 <emphasis role="bold">Platforms With Limited
88 Support.</emphasis> These legacy guest OS platforms can be
89 used with &product-name;, but only qualify for <emphasis>best
90 effort</emphasis> support. Therefore, resolution of customer
91 issues is not guaranteed. See
92 <xref linkend="table-limited-support"/>.
93 </para>
94 </listitem>
95
96 </itemizedlist>
97
98 <table id="table-premier-support" tabstyle="oracle-all">
99 <title>Guest Operating Systems With Full Support</title>
100 <tgroup cols="2">
101 <thead>
102 <row>
103 <entry><para>
104 <emphasis role="bold">Operating System</emphasis>
105 </para></entry>
106 <entry><para>
107 <emphasis role="bold">Comments</emphasis>
108 </para></entry>
109 </row>
110 </thead>
111 <tbody>
112 <row>
113 <entry><para>
114 Windows 10 (32-bit and 64-bit)
115 </para></entry>
116 <entry><para>
117 Insider preview builds are not supported
118 </para></entry>
119 </row>
120 <row>
121 <entry><para>
122 Windows 8 and 8.1 (32-bit and 64-bit)
123 </para></entry>
124 <entry><para></para></entry>
125 </row>
126 <row>
127 <entry><para>
128 Windows Server 2019 (64-bit)
129 </para></entry>
130 <entry><para></para></entry>
131 </row>
132 <row>
133 <entry><para>
134 Windows Server 2016 (64-bit)
135 </para></entry>
136 <entry><para></para></entry>
137 </row>
138 <row>
139 <entry><para>
140 Windows Server 2012 and 2012 R2 (64-bit)
141 </para></entry>
142 <entry><para></para></entry>
143 </row>
144 <row>
145 <entry><para>
146 Solaris 11 (32-bit and 64-bit)
147 </para></entry>
148 <entry><para></para></entry>
149 </row>
150 <row>
151 <entry><para>
152 Solaris 10 8/11 Update 10 and later (32-bit and 64-bit)
153 </para></entry>
154 <entry><para></para></entry>
155 </row>
156 <row>
157 <entry><para>
158 Oracle Linux 8 (64-bit)
159 </para></entry>
160 <entry><para>
161 Includes Red Hat Enterprise Linux 8, CentOS 8
162 </para></entry>
163 </row>
164 <row>
165 <entry><para>
166 Oracle Linux 7 (64-bit)
167 </para></entry>
168 <entry><para>
169 Includes Red Hat Enterprise Linux 7, CentOS 7
170 </para></entry>
171 </row>
172 <row>
173 <entry><para>
174 Oracle Linux 6 (32-bit and 64-bit)
175 </para></entry>
176 <entry><para>
177 Includes Red Hat Enterprise Linux 6, CentOS 6
178 </para></entry>
179 </row>
180 <row>
181 <entry><para>
182 Ubuntu 16.04 LTS (Xenial Xerus) (32-bit and 64-bit)
183 </para></entry>
184 <entry><para></para></entry>
185 </row>
186 <row>
187 <entry><para>
188 Ubuntu 18.04 LTS (Bionic Beaver) (64-bit)
189 </para></entry>
190 <entry><para></para></entry>
191 </row>
192 <row>
193 <entry><para>
194 Ubuntu 20.04 LTS (Focal Fossa) (64-bit)
195 </para></entry>
196 <entry><para></para></entry>
197 </row>
198 <row>
199 <entry><para>
200 SUSE Linux Enterprise Server 15 (64-bit)
201 </para></entry>
202 <entry><para></para></entry>
203 </row>
204 <row>
205 <entry><para>
206 SUSE Linux Enterprise Server 12 (64-bit)
207 </para></entry>
208 <entry><para></para></entry>
209 </row>
210 </tbody>
211 </tgroup>
212 </table>
213
214 <table id="table-limited-support" tabstyle="oracle-all">
215 <title>Legacy Guest Operating Systems With Limited Support</title>
216 <tgroup cols="2">
217 <thead>
218 <row>
219 <entry><para>
220 <emphasis role="bold">Operating System</emphasis>
221 </para></entry>
222 <entry><para>
223 <emphasis role="bold">Comments</emphasis>
224 </para></entry>
225 </row>
226 </thead>
227 <tbody>
228 <row>
229 <entry><para>
230 Windows 7 (32-bit and 64-bit)
231 </para></entry>
232 <entry><para></para></entry>
233 </row>
234 <row>
235 <entry><para>
236 Windows Vista SP2 and later (32-bit and 64-bit)
237 </para></entry>
238 <entry><para></para></entry>
239 </row>
240 <row>
241 <entry><para>
242 Windows XP (32-bit)
243 </para></entry>
244 <entry><para></para></entry>
245 </row>
246 <row>
247 <entry><para>
248 Windows Vista (32-bit)
249 </para></entry>
250 <entry><para></para></entry>
251 </row>
252 <row>
253 <entry><para>
254 Windows Server 2008 and 2008 R2 (32-bit and 64-bit)
255 </para></entry>
256 <entry><para></para></entry>
257 </row>
258 <row>
259 <entry><para>
260 Windows Server 2003 (32-bit and 64-bit)
261 </para></entry>
262 <entry><para></para></entry>
263 </row>
264 <row>
265 <entry><para>
266 Oracle Linux 5 (32-bit and 64-bit)
267 </para></entry>
268 <entry><para>
269 Includes Red Hat Enterprise Linux 5, CentOS 5
270 </para></entry>
271 </row>
272 <row>
273 <entry><para>
274 Ubuntu 14.04.5 LTS (Trusty Tahr) (32-bit and 64-bit)
275 </para></entry>
276 <entry><para></para></entry>
277 </row>
278 <row>
279 <entry><para>
280 OS/2 Warp 4.5
281 </para></entry>
282 <entry><para></para></entry>
283 </row>
284 </tbody>
285 </tgroup>
286 </table>
287
288 <sect2 id="intro-macosxguests">
289
290 <title>Mac OS X Guests</title>
291
292 <para>
293 &product-name; enables you to install and execute unmodified
294 versions of Mac OS X guests on supported host hardware. Note
295 that this feature is experimental and thus unsupported.
296 </para>
297
298 <para>
299 &product-name; is the first product to provide the modern PC
300 architecture expected by OS X without requiring any of the
301 modifications used by competing virtualization solutions. For
302 example, some competing solutions perform modifications to the
303 Mac OS X install DVDs, such as a different boot loader and
304 replaced files.
305 </para>
306
307 <para>
308 Be aware of the following important issues before you attempt to
309 install a Mac OS X guest:
310 </para>
311
312 <itemizedlist>
313
314 <listitem>
315 <para>
316 Mac OS X is commercial, licensed software and contains
317 <emphasis role="bold">both license and technical
318 restrictions</emphasis> that limit its use to certain
319 hardware and usage scenarios. You must understand and comply
320 with these restrictions.
321 </para>
322
323 <para>
324 In particular, Apple prohibits the installation of most
325 versions of Mac OS X on non-Apple hardware.
326 </para>
327
328 <para>
329 These license restrictions are also enforced on a technical
330 level. Mac OS X verifies that it is running on Apple
331 hardware. Most DVDs that accompany Apple hardware check for
332 the exact model. These restrictions are
333 <emphasis>not</emphasis> circumvented by &product-name; and
334 continue to apply.
335 </para>
336 </listitem>
337
338 <listitem>
339 <para>
340 Only <emphasis role="bold">CPUs</emphasis> that are known
341 and tested by Apple are supported. As a result, if your
342 Intel CPU is newer than the Mac OS X build, or if you have a
343 non-Intel CPU, you will likely encounter a panic during
344 bootup with an "Unsupported CPU" exception.
345 </para>
346
347 <para>
348 Ensure that you use the Mac OS X DVD that comes with your
349 Apple hardware.
350 </para>
351 </listitem>
352
353 <listitem>
354 <para>
355 The Mac OS X installer expects the hard disk to be
356 <emphasis>partitioned</emphasis>. So, the installer will not
357 offer a partition selection to you. Before you can install
358 the software successfully, start the Disk Utility from the
359 Tools menu and partition the hard disk. Close the Disk
360 Utility and proceed with the installation.
361 </para>
362 </listitem>
363
364 <listitem>
365 <para>
366 In addition, Mac OS X support in &product-name; is an
367 experimental feature. See <xref linkend="KnownIssues" />.
368 </para>
369 </listitem>
370
371 </itemizedlist>
372
373 </sect2>
374
375 <sect2 id="intro-64bitguests">
376
377 <title>64-bit Guests</title>
378
379 <warning>
380 <para>
381 Be sure to enable <emphasis role="bold">I/O APIC</emphasis>
382 for virtual machines that you intend to use in 64-bit mode.
383 This is especially true for 64-bit Windows VMs. See
384 <xref linkend="settings-general-advanced" />. For 64-bit
385 Windows guests, ensure that the VM uses the
386 <emphasis role="bold">Intel networking device</emphasis>
387 because there is no 64-bit driver support for the AMD PCNet
388 card. See <xref linkend="nichardware" />.
389 </para>
390 </warning>
391
392 <para>
393 If you use the <emphasis role="bold">Create VM</emphasis> wizard
394 of the VirtualBox Manager, &product-name; automatically uses the
395 correct settings for each selected 64-bit OS type. See
396 <xref linkend="gui-createvm" />.
397 </para>
398
399 </sect2>
400
401 </sect1>
402
403 <sect1 id="basic-unattended">
404
405 <title>Unattended Guest Installation</title>
406
407 <para>
408 &product-name; can install a guest OS automatically. You only need
409 to provide the installation medium and a few other parameters,
410 such as the name of the default user.
411 </para>
412
413 <para>
414 Performing an unattended guest installation involves the following
415 steps:
416 </para>
417
418 <itemizedlist>
419
420 <listitem>
421 <para>
422 <emphasis role="bold">Create a new VM.</emphasis> Use one of
423 the following methods:
424 </para>
425
426 <itemizedlist>
427
428 <listitem>
429 <para>
430 The VirtualBox Manager, see
431 <xref linkend="gui-createvm" />.
432 </para>
433 </listitem>
434
435 <listitem>
436 <para>
437 The <command>VBoxManage createvm</command> command, see
438 <xref linkend="vboxmanage-createvm" />.
439 </para>
440 </listitem>
441
442 </itemizedlist>
443
444 <para>
445 For the new VM, choose the guest OS type and accept the
446 default settings for that OS. The following sections in this
447 chapter describe how to change the settings for a VM.
448 </para>
449 </listitem>
450
451 <listitem>
452 <para>
453 <emphasis role="bold">Prepare the VM for unattended guest
454 installation.</emphasis> Use the <command>VBoxManage
455 unattended</command> command, see
456 <xref linkend="vboxmanage-unattended" />.
457 </para>
458
459 <para>
460 During this step, &product-name; scans the installation medium
461 and changes certain parameters to ensure a seamless
462 installation as a guest running on &product-name;.
463 </para>
464 </listitem>
465
466 <listitem>
467 <para>
468 <emphasis role="bold">Start the VM.</emphasis> Use the
469 VirtualBox Manager or the <command>VBoxManage
470 startvm</command> command.
471 </para>
472
473 <para>
474 When you start the VM, the unattended installation is
475 performed automatically.
476 </para>
477
478 <para>
479 The installation operation changes the boot device order to
480 boot the virtual hard disk first and then the virtual DVD
481 drive. If the virtual hard disk is empty prior to the
482 automatic installation, the VM boots from the virtual DVD
483 drive and begins the installation.
484 </para>
485
486 <para>
487 If the virtual hard disk contains a bootable OS, the
488 installation operation exits. In this case, change the boot
489 device order manually by pressing F12 during the BIOS splash
490 screen.
491 </para>
492 </listitem>
493
494 </itemizedlist>
495
496 <para>
497 <xref linkend="unattended-guest-install-example"/> describes how
498 to perform an unattended guest installation for an Oracle Linux
499 guest.
500 </para>
501
502 <sect2 id="unattended-guest-install-example">
503
504 <title>An Example of Unattended Guest Installation</title>
505
506 <para>
507 The following example shows how to perform an unattended guest
508 installation for an Oracle Linux VM. The example uses various
509 <command>VBoxManage</command> commands to prepare the guest VM.
510 The <command>VBoxManage unattended install</command> command is
511 then used to install and configure the guest OS.
512 </para>
513
514 <orderedlist>
515
516 <listitem>
517 <para>
518 Create the virtual machine.
519 </para>
520
521<screen># VM="ol7-autoinstall"
522# VBoxManage list ostypes
523# VBoxManage createvm --name $VM --ostype "Oracle_64" --register</screen>
524
525 <para>
526 Note the following:
527 </para>
528
529 <itemizedlist>
530
531 <listitem>
532 <para>
533 The $VM variable represents the name of the VM.
534 </para>
535 </listitem>
536
537 <listitem>
538 <para>
539 The <command>VBoxManage list ostypes</command> command
540 lists the guest OSes supported by &product-name;,
541 including the name used for each OS in the
542 <command>VBoxManage</command> commands.
543 </para>
544 </listitem>
545
546 <listitem>
547 <para>
548 A 64-bit Oracle Linux 7 VM is created and registered
549 with &product-name;.
550 </para>
551 </listitem>
552
553 <listitem>
554 <para>
555 The VM has a unique UUID.
556 </para>
557 </listitem>
558
559 <listitem>
560 <para>
561 An XML settings file is generated.
562 </para>
563 </listitem>
564
565 </itemizedlist>
566 </listitem>
567
568 <listitem>
569 <para>
570 Create a virtual hard disk and storage devices for the VM.
571 </para>
572
573<screen># VBoxManage createhd --filename /VirtualBox/$VM/$VM.vdi --size 32768
574# VBoxManage storagectl $VM --name "SATA Controller" --add sata --controller IntelAHCI
575# VBoxManage storageattach $VM --storagectl "SATA Controller" --port 0 --device 0 \
576--type hdd --medium /VirtualBox/$VM/$VM.vdi
577# VBoxManage storagectl $VM --name "IDE Controller" --add ide
578# VBoxManage storageattach $VM --storagectl "IDE Controller" --port 0 --device 0 \
579--type dvddrive --medium /u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso</screen>
580
581 <para>
582 The previous commands do the following:
583 </para>
584
585 <itemizedlist>
586
587 <listitem>
588 <para>
589 Create a 32768 MB virtual hard disk.
590 </para>
591 </listitem>
592
593 <listitem>
594 <para>
595 Create a SATA storage controller and attach the virtual
596 hard disk.
597 </para>
598 </listitem>
599
600 <listitem>
601 <para>
602 Create an IDE storage controller for a virtual DVD drive
603 and attach an Oracle Linux installation ISO.
604 </para>
605 </listitem>
606
607 </itemizedlist>
608 </listitem>
609
610 <listitem>
611 <para>
612 (Optional) Configure some settings for the VM.
613 </para>
614
615<screen># VBoxManage modifyvm $VM --ioapic on
616# VBoxManage modifyvm $VM --boot1 dvd --boot2 disk --boot3 none --boot4 none
617# VBoxManage modifyvm $VM --memory 8192 --vram 128</screen>
618
619 <para>
620 The previous commands do the following:
621 </para>
622
623 <itemizedlist>
624
625 <listitem>
626 <para>
627 Enable I/O APIC for the motherboard of the VM.
628 </para>
629 </listitem>
630
631 <listitem>
632 <para>
633 Configure the boot device order for the VM.
634 </para>
635 </listitem>
636
637 <listitem>
638 <para>
639 Allocate 8192 MB of RAM and 128 MB of video RAM to the
640 VM.
641 </para>
642 </listitem>
643
644 </itemizedlist>
645 </listitem>
646
647 <listitem>
648 <para>
649 Perform an unattended install of the OS.
650 </para>
651
652<screen># VBoxManage unattended install $VM \
653--iso=/u01/Software/OL/OracleLinux-R7-U6-Server-x86_64-dvd.iso \
654--user=<replaceable>login</replaceable> --full-user-name=<replaceable>name</replaceable> --password <replaceable>password</replaceable> \
655--install-additions --time-zone=CET</screen>
656
657 <para>
658 The previous command does the following:
659 </para>
660
661 <itemizedlist>
662
663 <listitem>
664 <para>
665 Specifies an Oracle Linux ISO as the installation ISO.
666 </para>
667 </listitem>
668
669 <listitem>
670 <para>
671 Specifies a login name, full name, and login password
672 for a default user on the guest OS.
673 </para>
674
675 <para>
676 Note that the specified password is also used for the
677 root user account on the guest.
678 </para>
679 </listitem>
680
681 <listitem>
682 <para>
683 Installs the Guest Additions on the VM.
684 </para>
685 </listitem>
686
687 <listitem>
688 <para>
689 Sets the time zone for the guest OS to Central European
690 Time (CET).
691 </para>
692 </listitem>
693
694 </itemizedlist>
695 </listitem>
696
697 <listitem>
698 <para>
699 Start the virtual machine.
700 </para>
701
702 <para>
703 This step completes the unattended installation process.
704 </para>
705
706<screen># VBoxManage startvm $VM --type headless</screen>
707
708 <para>
709 The VM starts in headless mode, which means that the
710 VirtualBox Manager window does not open.
711 </para>
712 </listitem>
713
714 <listitem>
715 <para>
716 (Optional) Update the guest OS to use the latest Oracle
717 Linux packages.
718 </para>
719
720 <para>
721 On the guest VM, run the following command:
722 </para>
723
724<screen># yum update</screen>
725 </listitem>
726
727 </orderedlist>
728
729 </sect2>
730
731 </sect1>
732
733 <sect1 id="emul-hardware">
734
735 <title>Emulated Hardware</title>
736
737 <para>
738 &product-name; virtualizes nearly all hardware of the host.
739 Depending on a VM's configuration, the guest will see the
740 following virtual hardware:
741 </para>
742
743 <itemizedlist>
744
745 <listitem>
746 <para>
747 <emphasis role="bold">Input devices.</emphasis> &product-name;
748 can emulate a standard PS/2 keyboard and mouse. These devices
749 are supported by most guest OSes.
750 </para>
751
752 <para>
753 In addition, &product-name; can provide virtual USB input
754 devices to avoid having to capture mouse and keyboard, as
755 described in <xref linkend="keyb_mouse_normal" />.
756 </para>
757 </listitem>
758
759 <listitem>
760 <para>
761 <emphasis role="bold">Graphics.</emphasis> The default
762 &product-name; graphics device for Windows guests is an SVGA
763 device. For Linux guests, the default graphics device emulates
764 a VMware SVGA graphics device. See
765 <xref linkend="settings-screen"/>.
766 </para>
767
768 <para>
769 For legacy guest OSes, a VGA-compatible graphics device is
770 available.
771 </para>
772 </listitem>
773
774 <listitem>
775 <para>
776 <emphasis role="bold">Storage.</emphasis> &product-name;
777 emulates the most common types of hard disk controllers. See
778 <xref linkend="harddiskcontrollers" />. Whereas supporting
779 only one of these controllers would be enough for
780 &product-name; by itself, this multitude of storage adapters
781 is required for compatibility with other hypervisors. Windows
782 is very selective about its boot devices, and migrating VMs
783 between hypervisors is very difficult or impossible if the
784 storage controllers are different.
785 </para>
786 </listitem>
787
788 <listitem>
789 <para>
790 <emphasis role="bold">Networking.</emphasis> See
791 <xref linkend="nichardware" />.
792 </para>
793 </listitem>
794
795 <listitem>
796 <para>
797 <emphasis role="bold">USB.</emphasis> &product-name; emulates
798 these types of USB host controllers: xHCI, EHCI, and OHCI.
799 While xHCI handles all USB transfer speeds, some legacy guest
800 OSes may not support xHCI. Note that for some legacy Windows
801 guests, third party drivers must be installed for xHCI
802 support.
803 </para>
804
805 <para>
806 Legacy guest OSes typically support OHCI and EHCI. These two
807 controllers are needed because OHCI only handles USB low-speed
808 and full-speed devices (both USB 1.x and 2.0), while EHCI only
809 handles high-speed devices (USB 2.0 only).
810 </para>
811
812 <para>
813 The emulated USB controllers do not communicate directly with
814 devices on the host. Instead they communicate with a virtual
815 USB layer which abstracts the USB protocol and enables the use
816 of remote USB devices.
817 </para>
818 </listitem>
819
820 <listitem>
821 <para>
822 <emphasis role="bold">Audio.</emphasis> See
823 <xref linkend="settings-audio" />.
824 </para>
825 </listitem>
826
827 </itemizedlist>
828
829 </sect1>
830
831 <sect1 id="generalsettings">
832
833 <title>General Settings</title>
834
835 <para>
836 In the <emphasis role="bold">Settings</emphasis> window, under
837 <emphasis role="bold">General</emphasis>, you can configure the
838 most fundamental aspects of the virtual machine such as memory and
839 essential hardware. The following tabs are available.
840 </para>
841
842 <sect2 id="settings-basic">
843
844 <title>Basic Tab</title>
845
846 <para>
847 In the <emphasis role="bold">Basic</emphasis> tab of the
848 <emphasis role="bold">General</emphasis> settings category, you
849 can find these settings:
850 </para>
851
852 <itemizedlist>
853
854 <listitem>
855 <para>
856 <emphasis role="bold">Name:</emphasis> The name of the the
857 VM, as shown in the list of VMs in the main VirtualBox
858 Manager window. Using this name, &product-name; also saves
859 the VM's configuration files. If you change the name,
860 &product-name; renames these files as well. As a result, you
861 can only use characters which are allowed for file names on
862 your host OS.
863 </para>
864
865 <para>
866 Note that internally, &product-name; uses unique identifiers
867 (UUIDs) to identify virtual machines. You can display these
868 using the <command>VBoxManage</command> commands.
869 </para>
870 </listitem>
871
872 <listitem>
873 <para>
874 <emphasis role="bold">Type:</emphasis> The type of the guest
875 OS for the VM. This is the same setting that is specified in
876 the <emphasis role="bold">New Virtual Machine</emphasis>
877 wizard. See <xref linkend="gui-createvm" />.
878 </para>
879
880 <para>
881 Whereas the default settings of a newly created VM depend on
882 the selected OS type, changing the type later has no effect
883 on VM settings. This value is purely informational and
884 decorative.
885 </para>
886 </listitem>
887
888 <listitem>
889 <para>
890 <emphasis role="bold">Version:</emphasis> The version of the
891 guest OS for the VM. This is the same setting that is
892 specified in the <emphasis role="bold">New Virtual
893 Machine</emphasis> wizard. See
894 <xref linkend="gui-createvm" />.
895 </para>
896 </listitem>
897
898 </itemizedlist>
899
900 </sect2>
901
902 <sect2 id="settings-general-advanced">
903
904 <title>Advanced Tab</title>
905
906 <para>
907 The following settings are available in the
908 <emphasis role="bold">Advanced</emphasis> tab:
909 </para>
910
911 <itemizedlist>
912
913 <listitem>
914 <para>
915 <emphasis role="bold">Snapshot Folder:</emphasis> By
916 default, &product-name; saves snapshot data together with
917 your other &product-name; configuration data. See
918 <xref linkend="vboxconfigdata" />. With this setting, you
919 can specify any other folder for each VM.
920 </para>
921 </listitem>
922
923 <listitem>
924 <para>
925 <emphasis role="bold">Shared Clipboard:</emphasis> You can
926 select here whether the clipboard of the guest OS should be
927 shared with that of your host. If you select
928 <emphasis role="bold">Bidirectional</emphasis>, then
929 &product-name; will always make sure that both clipboards
930 contain the same data. If you select
931 <emphasis role="bold">Host to Guest</emphasis> or
932 <emphasis role="bold">Guest to Host</emphasis>, then
933 &product-name; will only ever copy clipboard data in one
934 direction.
935 </para>
936
937 <para>
938 Clipboard sharing requires that the &product-name; Guest
939 Additions be installed. In such a case, this setting has no
940 effect. See <xref linkend="guestadditions" />.
941 </para>
942
943 <para>
944 For security reasons, the shared clipboard is disabled by
945 default. This setting can be changed at any time using the
946 <emphasis role="bold">Shared Clipboard</emphasis> menu item
947 in the <emphasis role="bold">Devices</emphasis> menu of the
948 virtual machine.
949 </para>
950 </listitem>
951
952 <listitem>
953 <para>
954 <emphasis role="bold">Drag and Drop:</emphasis> This setting
955 enables support for drag and drop. Select an object, such as
956 a file, from the host or guest and directly copy or open it
957 on the guest or host. Multiple drag and drop modes for a VM
958 enable restricting of access in either direction.
959 </para>
960
961 <para>
962 For drag and drop to work the Guest Additions need to be
963 installed on the guest.
964 </para>
965
966 <note>
967 <para>
968 Drag and drop is disabled by default. This setting can be
969 changed at any time using the <emphasis role="bold">Drag
970 and Drop</emphasis> menu item in the
971 <emphasis role="bold">Devices</emphasis> menu of the
972 virtual machine.
973 </para>
974 </note>
975
976 <para>
977 See <xref linkend="guestadd-dnd"/>.
978 </para>
979 </listitem>
980
981 </itemizedlist>
982
983 </sect2>
984
985 <sect2 id="settings-description">
986
987 <title>Description Tab</title>
988
989 <para>
990 On the <emphasis role="bold">Description</emphasis> tab you can
991 enter a description for your virtual machine. This has no effect
992 on the functionality of the machine, but you may find this space
993 useful to note down things such as the configuration of a
994 virtual machine and the software that has been installed into
995 it.
996 </para>
997
998 <para>
999 To insert a line break into the
1000 <emphasis role="bold">Description</emphasis> text field, press
1001 Shift+Enter.
1002 </para>
1003
1004 </sect2>
1005
1006 <sect2 id="settings-disk-encryption">
1007
1008 <title>Disk Encryption Tab</title>
1009
1010 <para>
1011 The <emphasis role="bold">Disk Encryption</emphasis> tab enables
1012 you to encrypt disks that are attached to the virtual machine.
1013 </para>
1014
1015 <para>
1016 To enable disk encryption, select the
1017 <emphasis role="bold">Enable Disk Encryption</emphasis> check
1018 box.
1019 </para>
1020
1021 <para>
1022 Settings are available to configure the cipher used for
1023 encryption and the encryption password.
1024 </para>
1025
1026 <note>
1027 <para>
1028 All files related to the virtual machine except disk images
1029 are stored unencrypted.
1030 </para>
1031 </note>
1032
1033 </sect2>
1034
1035 </sect1>
1036
1037 <sect1 id="settings-system">
1038
1039 <title>System Settings</title>
1040
1041 <para>
1042 The <emphasis role="bold">System</emphasis> category groups
1043 various settings that are related to the basic hardware that is
1044 presented to the virtual machine.
1045 </para>
1046
1047 <note>
1048 <para>
1049 As the activation mechanism of Microsoft Windows is sensitive to
1050 hardware changes, if you are changing hardware settings for a
1051 Windows guest, some of these changes may trigger a request for
1052 another activation with Microsoft.
1053 </para>
1054 </note>
1055
1056 <para>
1057 The following tabs are available.
1058 </para>
1059
1060 <sect2 id="settings-motherboard">
1061
1062 <title>Motherboard Tab</title>
1063
1064 <para>
1065 On the <emphasis role="bold">Motherboard</emphasis> tab, you can
1066 configure virtual hardware that would normally be on the
1067 motherboard of a real computer.
1068 </para>
1069
1070 <itemizedlist>
1071
1072 <listitem>
1073 <para>
1074 <emphasis role="bold">Base Memory:</emphasis> Sets the
1075 amount of RAM that is allocated and given to the VM when it
1076 is running. The specified amount of memory will be requested
1077 from the host OS, so it must be available or made available
1078 as free memory on the host when attempting to start the VM
1079 and will not be available to the host while the VM is
1080 running. This is the same setting that was specified in the
1081 <emphasis role="bold">New Virtual Machine</emphasis> wizard,
1082 as described in <xref linkend="gui-createvm" />.
1083 </para>
1084
1085 <para>
1086 Generally, it is possible to change the memory size after
1087 installing the guest OS. But you must not reduce the memory
1088 to an amount where the OS would no longer boot.
1089 </para>
1090 </listitem>
1091
1092 <listitem>
1093 <para>
1094 <emphasis role="bold">Boot Order:</emphasis> Determines the
1095 order in which the guest OS will attempt to boot from the
1096 various virtual boot devices. Analogous to a real PC's BIOS
1097 setting, &product-name; can tell a guest OS to start from
1098 the virtual floppy, the virtual CD/DVD drive, the virtual
1099 hard drive (each of these as defined by the other VM
1100 settings), the network, or none of these.
1101 </para>
1102
1103 <para>
1104 If you select <emphasis role="bold">Network</emphasis>, the
1105 VM will attempt to boot from a network using the PXE
1106 mechanism. This needs to be configured in detail on the
1107 command line. See <xref linkend="vboxmanage-modifyvm" />.
1108 </para>
1109 </listitem>
1110
1111 <listitem>
1112 <para>
1113 <emphasis role="bold">Chipset:</emphasis> You can select
1114 which chipset will be presented to the virtual machine.
1115 PIIX3 is the default chipset for most guests. For some guest
1116 OSes such as Mac OS X, the PIIX3 chipset is not well
1117 supported. As a result, &product-name; supports an emulation
1118 of the ICH9 chipset, which supports PCI express, three PCI
1119 buses, PCI-to-PCI bridges and Message Signaled Interrupts
1120 (MSI). This enables modern OSes to address more PCI devices
1121 and no longer requires IRQ sharing. Using the ICH9 chipset
1122 it is also possible to configure up to 36 network cards,
1123 compared to a maximum of eight network adapters with PIIX3.
1124 Note that ICH9 support is experimental and not recommended
1125 for guest OSes which do not require it.
1126 </para>
1127 </listitem>
1128
1129 <listitem>
1130 <para>
1131 <emphasis role="bold">Pointing Device:</emphasis> The
1132 default virtual pointing device for some guest OSes is the
1133 traditional PS/2 mouse. If set to <emphasis role="bold">USB
1134 Tablet</emphasis>, &product-name; reports to the virtual
1135 machine that a USB tablet device is present and communicates
1136 mouse events to the virtual machine through this device.
1137 Another setting is <emphasis role="bold">USB Multi-Touch
1138 Tablet</emphasis>, which is suitable for guests running
1139 Windows 8 or later.
1140 </para>
1141
1142 <para>
1143 Using the virtual USB tablet has the advantage that
1144 movements are reported in absolute coordinates, instead of
1145 as relative position changes. This enables &product-name; to
1146 translate mouse events over the VM window into tablet events
1147 without having to "capture" the mouse in the guest as
1148 described in <xref linkend="keyb_mouse_normal" />. This
1149 makes using the VM less tedious even if Guest Additions are
1150 not installed.
1151 </para>
1152 </listitem>
1153
1154 <listitem>
1155 <para>
1156 <emphasis role="bold">Enable I/O APIC:</emphasis> Advanced
1157 Programmable Interrupt Controllers (APICs) are an x86
1158 hardware feature that have replaced Programmable Interrupt
1159 Controllers (PICs). With an I/O APIC, OSes can use more than
1160 16 interrupt requests (IRQs) and therefore avoid IRQ sharing
1161 for improved reliability.
1162 </para>
1163
1164 <note>
1165 <para>
1166 Enabling the I/O APIC is <emphasis>required</emphasis>,
1167 especially for 64-bit Windows guest OSes. It is also
1168 required if you want to use more than one virtual CPU in a
1169 virtual machine.
1170 </para>
1171 </note>
1172
1173 <para>
1174 However, software support for I/O APICs has been unreliable
1175 with some OSes other than Windows. Also, the use of an I/O
1176 APIC slightly increases the overhead of virtualization and
1177 therefore slows down the guest OS a little.
1178 </para>
1179
1180 <warning>
1181 <para>
1182 All Windows OSes install different kernels, depending on
1183 whether an I/O APIC is available. As with ACPI, the I/O
1184 APIC therefore <emphasis>must not be turned off after
1185 installation</emphasis> of a Windows guest OS. Turning it
1186 on after installation will have no effect however.
1187 </para>
1188 </warning>
1189 </listitem>
1190
1191 <listitem>
1192 <para>
1193 <emphasis role="bold">Enable EFI:</emphasis> Enables
1194 Extensible Firmware Interface (EFI), which replaces the
1195 legacy BIOS and may be useful for certain advanced use
1196 cases. See <xref linkend="efi" />.
1197 </para>
1198 </listitem>
1199
1200 <listitem>
1201 <para>
1202 <emphasis role="bold">Hardware Clock in UTC Time:</emphasis>
1203 If selected, &product-name; will report the system time in
1204 UTC format to the guest instead of the local (host) time.
1205 This affects how the virtual real-time clock (RTC) operates
1206 and may be useful for UNIX-like guest OSes, which typically
1207 expect the hardware clock to be set to UTC.
1208 </para>
1209 </listitem>
1210
1211 </itemizedlist>
1212
1213 <para>
1214 In addition, you can turn off the <emphasis role="bold">Advanced
1215 Configuration and Power Interface (ACPI)</emphasis> which
1216 &product-name; presents to the guest OS by default.
1217 </para>
1218
1219 <para>
1220 ACPI is the current industry standard to allow OSes to recognize
1221 hardware, configure motherboards and other devices and manage
1222 power. As most computers contain this feature and Windows and
1223 Linux support ACPI, it is also enabled by default in
1224 &product-name;. ACPI can only be turned off using the command
1225 line. See <xref linkend="vboxmanage-modifyvm" />.
1226 </para>
1227
1228 <warning>
1229 <para>
1230 All Windows OSes install different kernels, depending on
1231 whether ACPI is available. This means that ACPI <emphasis>must
1232 not be turned off</emphasis> after installation of a Windows
1233 guest OS. However, turning it on after installation will have
1234 no effect.
1235 </para>
1236 </warning>
1237
1238 </sect2>
1239
1240 <sect2 id="settings-processor">
1241
1242 <title>Processor Tab</title>
1243
1244 <para>
1245 On the <emphasis role="bold">Processor</emphasis> tab, you can
1246 configure settings for the CPU used by the virtual machine.
1247 </para>
1248
1249 <itemizedlist>
1250
1251 <listitem>
1252 <para>
1253 <emphasis role="bold">Processor(s):</emphasis> Sets the
1254 number of virtual CPU cores the guest OSes can see.
1255 &product-name; supports symmetrical multiprocessing (SMP)
1256 and can present up to 32 virtual CPU cores to each virtual
1257 machine.
1258 </para>
1259
1260 <para>
1261 You should not configure virtual machines to use more CPU
1262 cores than are available physically. This includes real
1263 cores, with no hyperthreads.
1264 </para>
1265 </listitem>
1266
1267 <listitem>
1268 <para>
1269 <emphasis role="bold">Execution Cap:</emphasis> Configures
1270 the CPU execution cap. This limits the amount of time a host
1271 CPU spends to emulate a virtual CPU. The default setting is
1272 100%, meaning that there is no limitation. A setting of 50%
1273 implies a single virtual CPU can use up to 50% of a single
1274 host CPU. Note that limiting the execution time of the
1275 virtual CPUs may cause guest timing problems.
1276 </para>
1277
1278 <para>
1279 A warning is displayed at the bottom of the Processor tab if
1280 an Execution Cap setting is made that may affect system
1281 performance.
1282 </para>
1283 </listitem>
1284
1285 <listitem>
1286 <para>
1287 <emphasis role="bold">Enable PAE/NX:</emphasis> Determines
1288 whether the PAE and NX capabilities of the host CPU will be
1289 exposed to the virtual machine.
1290 </para>
1291
1292 <para>
1293 PAE stands for Physical Address Extension. Normally, if
1294 enabled and supported by the OS, then even a 32-bit x86 CPU
1295 can access more than 4 GB of RAM. This is made possible by
1296 adding another 4 bits to memory addresses, so that with 36
1297 bits, up to 64 GB can be addressed. Some OSes, such as
1298 Ubuntu Server, require PAE support from the CPU and cannot
1299 be run in a virtual machine without it.
1300 </para>
1301 </listitem>
1302
1303 <listitem>
1304 <para>
1305 <emphasis role="bold">Enable Nested VT-x/AMD-V</emphasis>:
1306 Enables nested virtualization, with passthrough of hardware
1307 virtualization functions to the guest VM.
1308 </para>
1309 </listitem>
1310
1311 </itemizedlist>
1312
1313 <para>
1314 With virtual machines running modern server OSes, &product-name;
1315 also supports CPU hot-plugging. For details, see
1316 <xref linkend="cpuhotplug" />.
1317 </para>
1318
1319 </sect2>
1320
1321 <sect2 id="settings-acceleration">
1322
1323 <title>Acceleration Tab</title>
1324
1325 <para>
1326 On this tab, you can configure &product-name; to use hardware
1327 virtualization extensions that your host CPU supports.
1328 </para>
1329
1330 <itemizedlist>
1331
1332 <listitem>
1333 <para>
1334 <emphasis role="bold">Paravirtualization
1335 Interface:</emphasis> &product-name; provides
1336 paravirtualization interfaces to improve time-keeping
1337 accuracy and performance of guest OSes. The options
1338 available are documented under the
1339 <option>--paravirt-provider</option> option in
1340 <xref linkend="vboxmanage-modifyvm" />. For further details
1341 on the paravirtualization providers, see
1342 <xref linkend="gimproviders" />.
1343 </para>
1344 </listitem>
1345
1346 <listitem>
1347 <para>
1348 <emphasis role="bold">Hardware Virtualization:</emphasis>
1349 You can configure hardware virtualization features for each
1350 virtual machine.
1351 </para>
1352
1353 <itemizedlist>
1354
1355 <listitem>
1356 <para>
1357 <emphasis role="bold">Enable Nested Paging:</emphasis>
1358 If the host CPU supports the nested paging (AMD-V) or
1359 EPT (Intel VT-x) features, then you can expect a
1360 significant performance increase by enabling nested
1361 paging in addition to hardware virtualization. For
1362 technical details, see <xref linkend="nestedpaging" />.
1363 For Intel EPT security recommendations, see
1364 <xref linkend="sec-rec-cve-2018-3646" />.
1365 </para>
1366 </listitem>
1367
1368 </itemizedlist>
1369
1370 <para>
1371 Advanced users may be interested in technical details about
1372 hardware virtualization. See <xref linkend="hwvirt" />.
1373 </para>
1374 </listitem>
1375
1376 </itemizedlist>
1377
1378 <para>
1379 In most cases, the default settings on the
1380 <emphasis role="bold">Acceleration</emphasis> tab will work
1381 well. &product-name; selects sensible defaults, depending on the
1382 OS that you selected when you created the virtual machine. In
1383 certain situations, however, you may want to change the
1384 preconfigured defaults.
1385 </para>
1386
1387 </sect2>
1388
1389 </sect1>
1390
1391 <sect1 id="settings-display">
1392
1393 <title>Display Settings</title>
1394
1395 <para>
1396 The following tabs are available for configuring the display for a
1397 virtual machine.
1398 </para>
1399
1400 <sect2 id="settings-screen">
1401
1402 <title>Screen Tab</title>
1403
1404 <itemizedlist>
1405
1406 <listitem>
1407 <para>
1408 <emphasis role="bold">Video Memory:</emphasis> Sets the size
1409 of the memory provided by the virtual graphics card
1410 available to the guest, in MB. As with the main memory, the
1411 specified amount will be allocated from the host's resident
1412 memory. Based on the amount of video memory, higher
1413 resolutions and color depths may be available.
1414 </para>
1415
1416 <para>
1417 The GUI will show a warning if the amount of video memory is
1418 too small to be able to switch the VM into full screen mode.
1419 The minimum value depends on the number of virtual monitors,
1420 the screen resolution and the color depth of the host
1421 display as well as on the use of <emphasis>3D
1422 acceleration</emphasis> and <emphasis>2D video
1423 acceleration</emphasis>. A rough estimate is
1424 (<emphasis>color depth</emphasis> / 8) x <emphasis>vertical
1425 pixels</emphasis> x <emphasis>horizontal pixels</emphasis> x
1426 <emphasis>number of screens</emphasis> = <emphasis>number of
1427 bytes</emphasis>. Extra memory may be required if display
1428 acceleration is used.
1429 </para>
1430 </listitem>
1431
1432 <listitem>
1433 <para>
1434 <emphasis role="bold">Monitor Count:</emphasis> With this
1435 setting, &product-name; can provide more than one virtual
1436 monitor to a virtual machine. If a guest OS supports
1437 multiple attached monitors, &product-name; can pretend that
1438 multiple virtual monitors are present. Up to eight such
1439 virtual monitors are supported.
1440 </para>
1441
1442 <para>
1443 The output of the multiple monitors are displayed on the
1444 host in multiple VM windows which are running side by side.
1445 However, in full screen and seamless mode, they use the
1446 available physical monitors attached to the host. As a
1447 result, for full screen and seamless modes to work with
1448 multiple monitors, you will need at least as many physical
1449 monitors as you have virtual monitors configured, or
1450 &product-name; will report an error.
1451 </para>
1452
1453 <para>
1454 You can configure the relationship between guest and host
1455 monitors using the <emphasis role="bold">View</emphasis>
1456 menu by pressing Host key + Home when you are in full screen
1457 or seamless mode.
1458 </para>
1459
1460 <para>
1461 See also <xref linkend="KnownIssues" />.
1462 </para>
1463 </listitem>
1464
1465 <listitem>
1466 <para>
1467 <emphasis role="bold">Scale Factor:</emphasis> Enables
1468 scaling of the display size. For multiple monitor displays,
1469 you can set the scale factor for individual monitors, or
1470 globally for all of the monitors. Use the slider to select a
1471 scaling factor up to 200%.
1472 </para>
1473
1474 <para>
1475 You can set a default scale factor for all VMs. Use the
1476 <emphasis role="bold">Display</emphasis> tab in the Global
1477 Settings dialogs.
1478 </para>
1479 </listitem>
1480
1481 <listitem>
1482 <para>
1483 <emphasis role="bold">Graphics Controller:</emphasis>
1484 Specifies the graphics adapter type used by the guest VM.
1485 Note that you must install the Guest Additions on the guest
1486 VM to specify the VBoxSVGA or VMSVGA graphics controller.
1487 The following options are available:
1488 </para>
1489
1490 <itemizedlist>
1491
1492 <listitem>
1493 <para>
1494 <emphasis role="bold">VBoxSVGA:</emphasis> The default
1495 graphics controller for new VMs that use Windows 7 or
1496 later.
1497 </para>
1498
1499 <para>
1500 This graphics controller improves performance and 3D
1501 support when compared to the legacy VBoxVGA option.
1502 </para>
1503 </listitem>
1504
1505 <listitem>
1506 <para>
1507 <emphasis role="bold">VBoxVGA:</emphasis> Use this
1508 graphics controller for legacy guest OSes. This is the
1509 default graphics controller for Windows versions before
1510 Windows 7 and for Oracle Solaris.
1511 </para>
1512
1513 <para>
1514 3D acceleration is not supported for this graphics
1515 controller.
1516 </para>
1517 </listitem>
1518
1519 <listitem>
1520 <para>
1521 <emphasis role="bold">VMSVGA:</emphasis> Use this
1522 graphics controller to emulate a VMware SVGA graphics
1523 device. This is the default graphics controller for
1524 Linux guests.
1525 </para>
1526 </listitem>
1527
1528 <listitem>
1529 <para>
1530 <emphasis role="bold">None:</emphasis> Does not emulate
1531 a graphics adapter type.
1532 </para>
1533 </listitem>
1534
1535 </itemizedlist>
1536 </listitem>
1537
1538 <listitem>
1539 <para>
1540 <emphasis role="bold">Enable 3D Acceleration:</emphasis> If
1541 a virtual machine has Guest Additions installed, you can
1542 select here whether the guest should support accelerated 3D
1543 graphics. See <xref linkend="guestadd-3d" />.
1544 </para>
1545 </listitem>
1546
1547 <listitem>
1548 <para>
1549 <emphasis role="bold">Enable 2D Video
1550 Acceleration:</emphasis> If a virtual machine with Microsoft
1551 Windows has Guest Additions installed, you can select here
1552 whether the guest should support accelerated 2D video
1553 graphics. See <xref linkend="guestadd-2d" />.
1554 </para>
1555 </listitem>
1556
1557 </itemizedlist>
1558
1559 </sect2>
1560
1561 <sect2 id="settings-remote-display">
1562
1563 <title>Remote Display Tab</title>
1564
1565 <para>
1566 On the <emphasis role="bold">Remote Display</emphasis> tab, if
1567 the VirtualBox Remote Display Extension (VRDE) is installed, you
1568 can enable the VRDP server that is built into &product-name;.
1569 This enables you to connect to the console of the virtual
1570 machine remotely with any standard RDP viewer, such as
1571 <command>mstsc.exe</command> that comes with Microsoft Windows.
1572 On Linux and Oracle Solaris systems you can use the standard
1573 open source <command>rdesktop</command> program. These features
1574 are described in <xref linkend="vrde" />.
1575 </para>
1576
1577 <itemizedlist>
1578
1579 <listitem>
1580 <para>
1581 <emphasis role="bold">Enable Server:</emphasis> Select this
1582 check box and configure settings for the remote display
1583 connection.
1584 </para>
1585 </listitem>
1586
1587 </itemizedlist>
1588
1589 </sect2>
1590
1591 <sect2 id="settings-capture">
1592
1593 <title>Recording Tab</title>
1594
1595 <para>
1596 On the <emphasis role="bold">Recording</emphasis> tab you can
1597 enable video and audio recording for a virtual machine and
1598 change related settings. Note that these features can be enabled
1599 and disabled while a VM is running.
1600 </para>
1601
1602 <itemizedlist>
1603
1604 <listitem>
1605 <para>
1606 <emphasis role="bold">Enable Recording:</emphasis> Select
1607 this check box and select a <emphasis role="bold">Recording
1608 Mode</emphasis> option.
1609 </para>
1610 </listitem>
1611
1612 <listitem>
1613 <para>
1614 <emphasis role="bold">Recording Mode:</emphasis> You can
1615 choose to record video, audio, or both video and audio.
1616 </para>
1617
1618 <para>
1619 Some settings on the
1620 <emphasis role="bold">Recording</emphasis> tab may be grayed
1621 out, depending on the <emphasis role="bold">Recording
1622 Mode</emphasis> setting.
1623 </para>
1624 </listitem>
1625
1626 <listitem>
1627 <para>
1628 <emphasis role="bold">File Path:</emphasis> The file where
1629 the recording is saved.
1630 </para>
1631 </listitem>
1632
1633 <listitem>
1634 <para>
1635 <emphasis role="bold">Frame Size:</emphasis> The video
1636 resolution of the recorded video, in pixels. The drop-down
1637 list enables you to select from common frame sizes.
1638 </para>
1639 </listitem>
1640
1641 <listitem>
1642 <para>
1643 <emphasis role="bold">Frame Rate:</emphasis> Use the slider
1644 to set the maximum number of video frames per second (FPS)
1645 to record. Frames that have a higher frequency are skipped.
1646 Increasing this value reduces the number of skipped frames
1647 and increases the file size.
1648 </para>
1649 </listitem>
1650
1651 <listitem>
1652 <para>
1653 <emphasis role="bold">Video Quality:</emphasis> Use the
1654 slider to set the the bit rate of the video in kilobits per
1655 second. Increasing this value improves the appearance of the
1656 video at the cost of an increased file size.
1657 </para>
1658 </listitem>
1659
1660 <listitem>
1661 <para>
1662 <emphasis role="bold">Audio Quality:</emphasis> Use the
1663 slider to set the quality of the audio recording. Increasing
1664 this value improves the audio quality at the cost of an
1665 increased file size.
1666 </para>
1667 </listitem>
1668
1669 <listitem>
1670 <para>
1671 <emphasis role="bold">Screens:</emphasis> For a multiple
1672 monitor display, you can select which screens to record
1673 video from.
1674 </para>
1675 </listitem>
1676
1677 </itemizedlist>
1678
1679 <para>
1680 As you adjust the video and audio recording settings, the
1681 approximate output file size for a five minute video is shown.
1682 </para>
1683
1684 </sect2>
1685
1686 </sect1>
1687
1688 <sect1 id="settings-storage">
1689
1690 <title>Storage Settings</title>
1691
1692 <para>
1693 The <emphasis role="bold">Storage</emphasis> category in the VM
1694 settings enables you to connect virtual hard disk, CD/DVD, and
1695 floppy images and drives to your virtual machine.
1696 </para>
1697
1698 <para>
1699 In a real computer, so-called <emphasis>storage
1700 controllers</emphasis> connect physical disk drives to the rest of
1701 the computer. Similarly, &product-name; presents virtual storage
1702 controllers to a virtual machine. Under each controller, the
1703 virtual devices, such as hard disks, CD/DVD or floppy drives,
1704 attached to the controller are shown.
1705 </para>
1706
1707 <note>
1708 <para>
1709 This section gives a quick introduction to the &product-name;
1710 storage settings. See <xref linkend="storage" /> for a full
1711 description of the available storage settings in &product-name;.
1712 </para>
1713 </note>
1714
1715 <para>
1716 If you have used the <emphasis role="bold">Create VM</emphasis>
1717 wizard to create a machine, you will normally see something like
1718 the following:
1719 </para>
1720
1721 <figure id="fig-storage-settings">
1722 <title>Storage Settings for a Virtual Machine</title>
1723 <mediaobject>
1724 <imageobject>
1725 <imagedata align="center" fileref="images/vm-settings-harddisk.png"
1726 width="10cm" />
1727 </imageobject>
1728 </mediaobject>
1729 </figure>
1730
1731 <para>
1732 Depending on the guest OS type that you selected when you created
1733 the VM, a new VM includes the following storage devices:
1734 </para>
1735
1736 <itemizedlist>
1737
1738 <listitem>
1739 <para>
1740 <emphasis role="bold">IDE controller.</emphasis> A virtual
1741 CD/DVD drive is attached to device 0 on the secondary channel
1742 of the IDE controller.
1743 </para>
1744 </listitem>
1745
1746 <listitem>
1747 <para>
1748 <emphasis role="bold">SATA controller.</emphasis> This is a
1749 modern type of storage controller for higher hard disk data
1750 throughput, to which the virtual hard disks are attached.
1751 Initially you will normally have one such virtual disk, but as
1752 shown in the previous screenshot, you can have more than one.
1753 Each is represented by a disk image file, such as a VDI file
1754 in this example.
1755 </para>
1756 </listitem>
1757
1758 </itemizedlist>
1759
1760 <para>
1761 If you created your VM with an older version of &product-name;,
1762 the default storage layout may differ. You might then only have an
1763 IDE controller to which both the CD/DVD drive and the hard disks
1764 have been attached. This might also apply if you selected an older
1765 OS type when you created the VM. Since older OSes do not support
1766 SATA without additional drivers, &product-name; will make sure
1767 that no such devices are present initially. See
1768 <xref linkend="harddiskcontrollers" />.
1769 </para>
1770
1771 <para>
1772 &product-name; also provides a <emphasis>floppy
1773 controller</emphasis>. You cannot add devices other than floppy
1774 drives to this controller. Virtual floppy drives, like virtual
1775 CD/DVD drives, can be connected to either a host floppy drive, if
1776 you have one, or a disk image, which in this case must be in RAW
1777 format.
1778 </para>
1779
1780 <para>
1781 You can modify these media attachments freely. For example, if you
1782 wish to copy some files from another virtual disk that you
1783 created, you can connect that disk as a second hard disk, as in
1784 the above screenshot. You could also add a second virtual CD/DVD
1785 drive, or change where these items are attached. The following
1786 options are available:
1787 </para>
1788
1789 <itemizedlist>
1790
1791 <listitem>
1792 <para>
1793 To <emphasis role="bold">add another virtual hard disk, or a
1794 CD/DVD or floppy drive</emphasis>, select the storage
1795 controller to which it should be added (such as IDE, SATA,
1796 SCSI, SAS, floppy controller) and then click the
1797 <emphasis role="bold">Add Disk</emphasis> button below the
1798 tree. You can then either select <emphasis role="bold">Optical
1799 Drive</emphasis> or <emphasis role="bold">Hard
1800 Disk</emphasis>. If you clicked on a floppy controller, you
1801 can add a floppy drive instead. Alternatively, right-click on
1802 the storage controller and select a menu item there.
1803 </para>
1804
1805 <para>
1806 A dialog is displayed, enabling you to select an existing disk
1807 image file or to create a new disk image file. Depending on
1808 the type of disk image, the dialog is called
1809 <emphasis role="bold">Hard Disk Selector</emphasis>,
1810 <emphasis role="bold">Optical Disk Selector</emphasis>, or
1811 <emphasis role="bold">Floppy Disk Selector</emphasis>.
1812 </para>
1813
1814 <para>
1815 See <xref linkend="vdidetails"/> for information on the image
1816 file types that are supported by &product-name;.
1817 </para>
1818
1819 <para>
1820 For virtual CD/DVD drives, the image files will typically be
1821 in the standard ISO format instead. Most commonly, you will
1822 select this option when installing an OS from an ISO file that
1823 you have obtained from the Internet. For example, most Linux
1824 distributions are available in this way.
1825 </para>
1826
1827 <para>
1828 Depending on the type of disk image, you can set the following
1829 <emphasis role="bold">Attributes</emphasis> for the disk image
1830 in the right part of the Storage settings page:
1831 </para>
1832
1833 <itemizedlist>
1834
1835 <listitem>
1836 <para>
1837 The <emphasis role="bold">device slot</emphasis> of the
1838 controller that the virtual disk is connected to. IDE
1839 controllers have four slots: primary device 0, primary
1840 device 1, secondary device 0, and secondary device 1. By
1841 contrast, SATA and SCSI controllers offer you up to 30
1842 slots for attaching virtual devices.
1843 </para>
1844 </listitem>
1845
1846 <listitem>
1847 <para>
1848 <emphasis role="bold">Solid-state Drive</emphasis>
1849 presents a virtual disk to the guest as a solid-state
1850 device.
1851 </para>
1852 </listitem>
1853
1854 <listitem>
1855 <para>
1856 <emphasis role="bold">Hot-pluggable</emphasis> presents a
1857 virtual disk to the guest as a hot-pluggable device.
1858 </para>
1859 </listitem>
1860
1861 <listitem>
1862 <para>
1863 For virtual CD/DVD drives, you can select
1864 <emphasis role="bold">Live CD/DVD</emphasis>. This means
1865 that the virtual optical disk is not removed from when the
1866 guest system ejects it.
1867 </para>
1868 </listitem>
1869
1870 </itemizedlist>
1871 </listitem>
1872
1873 <listitem>
1874 <para>
1875 To <emphasis role="bold">remove an attachment</emphasis>,
1876 either select it and click on the
1877 <emphasis role="bold">Remove</emphasis> icon at the bottom, or
1878 right-click on it and select the menu item.
1879 </para>
1880 </listitem>
1881
1882 </itemizedlist>
1883
1884 <para>
1885 Removable media, such as CD/DVDs and floppies, can be changed
1886 while the guest is running. Since the
1887 <emphasis role="bold">Settings</emphasis> dialog is not available
1888 at that time, you can also access these settings from the
1889 <emphasis role="bold">Devices</emphasis> menu of your virtual
1890 machine window.
1891 </para>
1892
1893 </sect1>
1894
1895 <sect1 id="settings-audio">
1896
1897 <title>Audio Settings</title>
1898
1899 <para>
1900 The <emphasis role="bold">Audio</emphasis> section in a virtual
1901 machine's <emphasis role="bold">Settings</emphasis> window
1902 determines whether the VM will detect a connected sound card, and
1903 if the audio output should be played on the host system.
1904 </para>
1905
1906 <para>
1907 To enable audio for a guest, select the
1908 <emphasis role="bold">Enable Audio</emphasis> check box. The
1909 following settings are available:
1910 </para>
1911
1912 <itemizedlist>
1913
1914 <listitem>
1915 <para>
1916 <emphasis role="bold">Host Audio Driver:</emphasis> The audio
1917 driver that &product-name; uses on the host. On a Linux host,
1918 depending on your host configuration, you can select between
1919 the OSS, ALSA, or the PulseAudio subsystem. On newer Linux
1920 distributions, the PulseAudio subsystem is preferred.
1921 </para>
1922
1923 <para>
1924 Only OSS is supported on Oracle Solaris hosts. The Oracle
1925 Solaris Audio audio backend is no longer supported on Oracle
1926 Solaris hosts.
1927 </para>
1928 </listitem>
1929
1930 <listitem>
1931 <para>
1932 <emphasis role="bold">Audio Controller:</emphasis> You can
1933 choose between the emulation of an Intel AC'97 controller, an
1934 Intel HD Audio controller, or a SoundBlaster 16 card.
1935 </para>
1936 </listitem>
1937
1938 <listitem>
1939 <para>
1940 <emphasis role="bold">Enable Audio Output:</emphasis> Enables
1941 audio output only for the VM.
1942 </para>
1943 </listitem>
1944
1945 <listitem>
1946 <para>
1947 <emphasis role="bold">Enable Audio Input:</emphasis> Enables
1948 audio input only for the VM.
1949 </para>
1950 </listitem>
1951
1952 </itemizedlist>
1953
1954 </sect1>
1955
1956 <sect1 id="settings-network">
1957
1958 <title>Network Settings</title>
1959
1960 <para>
1961 The <emphasis role="bold">Network</emphasis> section in a virtual
1962 machine's <emphasis role="bold">Settings</emphasis> window enables
1963 you to configure how &product-name; presents virtual network cards
1964 to your VM, and how they operate.
1965 </para>
1966
1967 <para>
1968 When you first create a virtual machine, &product-name; by default
1969 enables one virtual network card and selects the Network Address
1970 Translation (NAT) mode for it. This way the guest can connect to
1971 the outside world using the host's networking and the outside
1972 world can connect to services on the guest which you choose to
1973 make visible outside of the virtual machine.
1974 </para>
1975
1976 <para>
1977 This default setup is good for the majority of &product-name;
1978 users. However, &product-name; is extremely flexible in how it can
1979 virtualize networking. It supports many virtual network cards per
1980 virtual machine. The first four virtual network cards can be
1981 configured in detail in the VirtualBox Manager window. Additional
1982 network cards can be configured using the
1983 <command>VBoxManage</command> command.
1984 </para>
1985
1986 <para>
1987 Many networking options are available. See
1988 <xref linkend="networkingdetails" /> for more information.
1989 </para>
1990
1991 </sect1>
1992
1993 <sect1 id="serialports">
1994
1995 <title>Serial Ports</title>
1996
1997 <para>
1998 &product-name; supports the use of virtual serial ports in a
1999 virtual machine.
2000 </para>
2001
2002 <para>
2003 Ever since the original IBM PC, personal computers have been
2004 equipped with one or two serial ports, also called COM ports by
2005 DOS and Windows. Serial ports were commonly used with modems, and
2006 some computer mice used to be connected to serial ports before USB
2007 became commonplace.
2008 </para>
2009
2010 <para>
2011 While serial ports are no longer as common as they used to be,
2012 there are still some important uses left for them. For example,
2013 serial ports can be used to set up a primitive network over a
2014 null-modem cable, in case Ethernet is not available. Also, serial
2015 ports are indispensable for system programmers needing to do
2016 kernel debugging, since kernel debugging software usually
2017 interacts with developers over a serial port. With virtual serial
2018 ports, system programmers can do kernel debugging on a virtual
2019 machine instead of needing a real computer to connect to.
2020 </para>
2021
2022 <para>
2023 If a virtual serial port is enabled, the guest OS sees a standard
2024 16550A compatible UART device. Other UART types can be configured
2025 using the <command>VBoxManage modifyvm</command> command. Both
2026 receiving and transmitting data is supported. How this virtual
2027 serial port is then connected to the host is configurable, and the
2028 details depend on your host OS.
2029 </para>
2030
2031 <para>
2032 You can use either the Settings tabs or the
2033 <command>VBoxManage</command> command to set up virtual serial
2034 ports. For the latter, see <xref linkend="vboxmanage-modifyvm" />
2035 for information on the <option>--uart</option>,
2036 <option>--uart-mode</option> and <option>--uart-type</option>
2037 options.
2038 </para>
2039
2040 <para>
2041 You can configure up to four virtual serial ports per virtual
2042 machine. For each device, you must set the following:
2043 </para>
2044
2045 <orderedlist>
2046
2047 <listitem>
2048 <para>
2049 <emphasis role="bold">Port Number:</emphasis> This determines
2050 the serial port that the virtual machine should see. For best
2051 results, use the traditional values as follows:
2052 </para>
2053
2054 <itemizedlist>
2055
2056 <listitem>
2057 <para>
2058 COM1: I/O base 0x3F8, IRQ 4
2059 </para>
2060 </listitem>
2061
2062 <listitem>
2063 <para>
2064 COM2: I/O base 0x2F8, IRQ 3
2065 </para>
2066 </listitem>
2067
2068 <listitem>
2069 <para>
2070 COM3: I/O base 0x3E8, IRQ 4
2071 </para>
2072 </listitem>
2073
2074 <listitem>
2075 <para>
2076 COM4: I/O base 0x2E8, IRQ 3
2077 </para>
2078 </listitem>
2079
2080 </itemizedlist>
2081
2082 <para>
2083 You can also configure a user-defined serial port. Enter an
2084 I/O base address and interrupt (IRQ).
2085 </para>
2086 </listitem>
2087
2088 <listitem>
2089 <para>
2090 <emphasis role="bold">Port Mode:</emphasis> What the virtual
2091 port is connected to. For each virtual serial port, you have
2092 the following options:
2093 </para>
2094
2095 <itemizedlist>
2096
2097 <listitem>
2098 <para>
2099 <emphasis role="bold">Disconnected:</emphasis> The guest
2100 will see the device, but it will behave as if no cable had
2101 been connected to it.
2102 </para>
2103 </listitem>
2104
2105 <listitem>
2106 <para>
2107 <emphasis role="bold">Host Device:</emphasis> Connects the
2108 virtual serial port to a physical serial port on your
2109 host. On a Windows host, this will be a name like
2110 <literal>COM1</literal>. On Linux or Oracle Solaris hosts,
2111 it will be a device node like
2112 <filename>/dev/ttyS0</filename>. &product-name; will then
2113 simply redirect all data received from and sent to the
2114 virtual serial port to the physical device.
2115 </para>
2116 </listitem>
2117
2118 <listitem>
2119 <para>
2120 <emphasis role="bold">Host Pipe:</emphasis> Configure
2121 &product-name; to connect the virtual serial port to a
2122 software pipe on the host. This depends on your host OS,
2123 as follows:
2124 </para>
2125
2126 <itemizedlist>
2127
2128 <listitem>
2129 <para>
2130 On a Windows host, data will be sent and received
2131 through a named pipe. The pipe name must be in the
2132 format
2133 <filename>\\.\pipe\<replaceable>name</replaceable></filename>
2134 where <replaceable>name</replaceable> should identify
2135 the virtual machine but may be freely chosen.
2136 </para>
2137 </listitem>
2138
2139 <listitem>
2140 <para>
2141 On a Mac OS, Linux, or Oracle Solaris host, a local
2142 domain socket is used instead. The socket filename
2143 must be chosen such that the user running
2144 &product-name; has sufficient privileges to create and
2145 write to it. The <filename>/tmp</filename> directory
2146 is often a good candidate.
2147 </para>
2148
2149 <para>
2150 On Linux there are various tools which can connect to
2151 a local domain socket or create one in server mode.
2152 The most flexible tool is <command>socat</command> and
2153 is available as part of many distributions.
2154 </para>
2155 </listitem>
2156
2157 </itemizedlist>
2158
2159 <para>
2160 In this case, you can configure whether &product-name;
2161 should create the named pipe, or the local domain socket
2162 non-Windows hosts, itself or whether &product-name; should
2163 assume that the pipe or socket exists already. With the
2164 <command>VBoxManage</command> command-line options, this
2165 is referred to as server mode or client mode,
2166 respectively.
2167 </para>
2168
2169 <para>
2170 For a direct connection between two virtual machines,
2171 corresponding to a null-modem cable, simply configure one
2172 VM to create a pipe or socket and another to attach to it.
2173 </para>
2174 </listitem>
2175
2176 <listitem>
2177 <para>
2178 <emphasis role="bold">Raw File:</emphasis> Send the
2179 virtual serial port output to a file. This option is very
2180 useful for capturing diagnostic output from a guest. Any
2181 file may be used for this purpose, as long as the user
2182 running &product-name; has sufficient privileges to create
2183 and write to the file.
2184 </para>
2185 </listitem>
2186
2187 <listitem>
2188 <para>
2189 <emphasis role="bold">TCP Socket:</emphasis> Useful for
2190 forwarding serial traffic over TCP/IP, acting as a server,
2191 or it can act as a TCP client connecting to other servers.
2192 This option enables a remote machine to directly connect
2193 to the guest's serial port using TCP.
2194 </para>
2195
2196 <itemizedlist>
2197
2198 <listitem>
2199 <para>
2200 <emphasis role="bold">TCP Server:</emphasis> Deselect
2201 the <emphasis role="bold">Connect to Existing
2202 Pipe/Socket</emphasis> check box and specify the port
2203 number in the
2204 <emphasis role="bold">Path/Address</emphasis> field.
2205 This is typically 23 or 2023. Note that on UNIX-like
2206 systems you will have to use a port a number greater
2207 than 1024 for regular users.
2208 </para>
2209
2210 <para>
2211 The client can use software such as
2212 <command>PuTTY</command> or the
2213 <command>telnet</command> command line tool to access
2214 the TCP Server.
2215 </para>
2216 </listitem>
2217
2218 <listitem>
2219 <para>
2220 <emphasis role="bold">TCP Client:</emphasis> To create
2221 a virtual null-modem cable over the Internet or LAN,
2222 the other side can connect using TCP by specifying
2223 <literal><replaceable>hostname</replaceable>:<replaceable>port</replaceable></literal>
2224 in the <emphasis role="bold">Path/Address</emphasis>
2225 field. The TCP socket will act in client mode if you
2226 select the <emphasis role="bold">Connect to Existing
2227 Pipe/Socket</emphasis> check box.
2228 </para>
2229 </listitem>
2230
2231 </itemizedlist>
2232 </listitem>
2233
2234 </itemizedlist>
2235 </listitem>
2236
2237 </orderedlist>
2238
2239 <para>
2240 Up to four serial ports can be configured per virtual machine, but
2241 you can pick any port numbers out of the above. However, serial
2242 ports cannot reliably share interrupts. If both ports are to be
2243 used at the same time, they must use different interrupt levels,
2244 for example COM1 and COM2, but not COM1 and COM3.
2245 </para>
2246
2247 </sect1>
2248
2249 <sect1 id="usb-support">
2250
2251 <title>USB Support</title>
2252
2253 <sect2 id="settings-usb">
2254
2255 <title>USB Settings</title>
2256
2257 <para>
2258 The <emphasis role="bold">USB</emphasis> section in a virtual
2259 machine's <emphasis role="bold">Settings</emphasis> window
2260 enables you to configure &product-name;'s sophisticated USB
2261 support.
2262 </para>
2263
2264 <para>
2265 &product-name; can enable virtual machines to access the USB
2266 devices on your host directly. To achieve this, &product-name;
2267 presents the guest OS with a virtual USB controller. As soon as
2268 the guest system starts using a USB device, it will appear as
2269 unavailable on the host.
2270 </para>
2271
2272 <note>
2273 <itemizedlist>
2274
2275 <listitem>
2276 <para>
2277 Be careful with USB devices that are currently in use on
2278 the host. For example, if you allow your guest to connect
2279 to your USB hard disk that is currently mounted on the
2280 host, when the guest is activated, it will be disconnected
2281 from the host without a proper shutdown. This may cause
2282 data loss.
2283 </para>
2284 </listitem>
2285
2286 <listitem>
2287 <para>
2288 Oracle Solaris hosts have a few known limitations
2289 regarding USB support. See <xref linkend="KnownIssues" />.
2290 </para>
2291 </listitem>
2292
2293 </itemizedlist>
2294 </note>
2295
2296 <para>
2297 In addition to allowing a guest access to your local USB
2298 devices, &product-name; even enables your guests to connect to
2299 remote USB devices by use of the VirtualBox Remote Desktop
2300 Extension (VRDE). See <xref linkend="usb-over-rdp" />.
2301 </para>
2302
2303 <para>
2304 To enable USB for a VM, select the <emphasis role="bold">Enable
2305 USB Controller</emphasis> check box. The following settings are
2306 available:
2307 </para>
2308
2309 <itemizedlist>
2310
2311 <listitem>
2312 <para>
2313 <emphasis role="bold">USB Controller:</emphasis> Selects a
2314 controller with the specified level of USB support, as
2315 follows:
2316 </para>
2317
2318 <itemizedlist>
2319
2320 <listitem>
2321 <para>
2322 OHCI for USB 1.1
2323 </para>
2324 </listitem>
2325
2326 <listitem>
2327 <para>
2328 EHCI for USB 2.0. This also enables OHCI.
2329 </para>
2330 </listitem>
2331
2332 <listitem>
2333 <para>
2334 xHCI for USB 3.0. This supports all USB speeds.
2335 </para>
2336 </listitem>
2337
2338 </itemizedlist>
2339
2340 <note>
2341 <para>
2342 The xHCI and EHCI controllers are shipped as an
2343 &product-name; extension package, which must be installed
2344 separately. See <xref linkend="intro-installing" />.
2345 </para>
2346 </note>
2347 </listitem>
2348
2349 <listitem>
2350 <para>
2351 <emphasis role="bold">USB Device Filters:</emphasis> When
2352 USB support is enabled for a VM, you can determine in detail
2353 which devices will be automatically attached to the guest.
2354 For this, you can create filters by specifying certain
2355 properties of the USB device. USB devices with a matching
2356 filter will be automatically passed to the guest once they
2357 are attached to the host. USB devices without a matching
2358 filter can be passed manually to the guest, for example by
2359 using the <emphasis role="bold">Devices</emphasis>,
2360 <emphasis role="bold">USB</emphasis> menu.
2361 </para>
2362
2363 <para>
2364 Clicking on the <emphasis role="bold">+</emphasis> button to
2365 the right of the <emphasis role="bold">USB Device
2366 Filters</emphasis> window creates a new filter. You can give
2367 the filter a name, for later reference, and specify the
2368 filter criteria. The more criteria you specify, the more
2369 precisely devices will be selected. For instance, if you
2370 specify only a vendor ID of 046d, all devices produced by
2371 Logitech will be available to the guest. If you fill in all
2372 fields, on the other hand, the filter will only apply to a
2373 particular device model from a particular vendor, and not
2374 even to other devices of the same type with a different
2375 revision and serial number.
2376 </para>
2377
2378 <para>
2379 In detail, the following criteria are available:
2380 </para>
2381
2382 <itemizedlist>
2383
2384 <listitem>
2385 <para>
2386 <emphasis role="bold">Vendor and Product ID.</emphasis>
2387 With USB, each vendor of USB products carries an
2388 identification number that is unique world-wide, called
2389 the <emphasis>vendor ID</emphasis>. Similarly, each line
2390 of products is assigned a <emphasis>product
2391 ID</emphasis> number. Both numbers are commonly written
2392 in hexadecimal, and a colon separates the vendor from
2393 the product ID. For example,
2394 <literal>046d:c016</literal> stands for Logitech as a
2395 vendor, and the M-UV69a Optical Wheel Mouse product.
2396 </para>
2397
2398 <para>
2399 Alternatively, you can also specify
2400 <emphasis role="bold">Manufacturer</emphasis> and
2401 <emphasis role="bold">Product</emphasis> by name.
2402 </para>
2403
2404 <para>
2405 To list all the USB devices that are connected to your
2406 host machine with their respective vendor IDs and
2407 product IDs, use the following command:
2408 </para>
2409
2410<screen>VBoxManage list usbhost</screen>
2411
2412 <para>
2413 On Windows, you can also see all USB devices that are
2414 attached to your system in the Device Manager. On Linux,
2415 you can use the <command>lsusb</command> command.
2416 </para>
2417 </listitem>
2418
2419 <listitem>
2420 <para>
2421 <emphasis role="bold">Serial Number.</emphasis> While
2422 vendor ID and product ID are quite specific to identify
2423 USB devices, if you have two identical devices of the
2424 same brand and product line, you will also need their
2425 serial numbers to filter them out correctly.
2426 </para>
2427 </listitem>
2428
2429 <listitem>
2430 <para>
2431 <emphasis role="bold">Remote.</emphasis> This setting
2432 specifies whether the device will be local only, remote
2433 only, such as over VRDP, or either.
2434 </para>
2435 </listitem>
2436
2437 </itemizedlist>
2438
2439 <para>
2440 On a Windows host, you will need to unplug and reconnect a
2441 USB device to use it after creating a filter for it.
2442 </para>
2443
2444 <para>
2445 As an example, you could create a new USB filter and specify
2446 a vendor ID of 046d for Logitech, Inc, a manufacturer index
2447 of 1, and "not remote". Then any USB devices on the host
2448 system produced by Logitech, Inc with a manufacturer index
2449 of 1 will be visible to the guest system.
2450 </para>
2451
2452 <para>
2453 Several filters can select a single device. For example, a
2454 filter which selects all Logitech devices, and one which
2455 selects a particular webcam.
2456 </para>
2457
2458 <para>
2459 You can deactivate filters without deleting them by
2460 deselecting the check box next to the filter name.
2461 </para>
2462 </listitem>
2463
2464 </itemizedlist>
2465
2466 </sect2>
2467
2468 <sect2 id="usb-implementation-notes">
2469
2470 <title>Implementation Notes for Windows and Linux Hosts</title>
2471
2472 <para>
2473 On Windows hosts, a kernel mode device driver provides USB proxy
2474 support. It implements both a USB monitor, which enables
2475 &product-name; to capture devices when they are plugged in, and
2476 a USB device driver to claim USB devices for a particular
2477 virtual machine. System reboots are not necessary after
2478 installing the driver. Also, you do not need to replug devices
2479 for &product-name; to claim them.
2480 </para>
2481
2482 <para>
2483 On supported Linux hosts, &product-name; accesses USB devices
2484 through special files in the file system. When &product-name; is
2485 installed, these are made available to all users in the
2486 <literal>vboxusers</literal> system group. In order to be able
2487 to access USB from guest systems, make sure that you are a
2488 member of this group.
2489 </para>
2490
2491 </sect2>
2492
2493 </sect1>
2494
2495 <sect1 id="shared-folders">
2496
2497 <title>Shared Folders</title>
2498
2499 <para>
2500 Shared folders enable you to easily exchange data between a
2501 virtual machine and your host. This feature requires that the
2502 &product-name; Guest Additions be installed in a virtual machine
2503 and is described in detail in <xref linkend="sharedfolders" />.
2504 </para>
2505
2506 </sect1>
2507
2508 <sect1 id="user-interface">
2509
2510 <title>User Interface</title>
2511
2512 <para>
2513 The <emphasis role="bold">User Interface</emphasis> section
2514 enables you to change certain aspects of the user interface of
2515 this VM.
2516 </para>
2517
2518 <itemizedlist>
2519
2520 <listitem>
2521 <para>
2522 <emphasis role="bold">Menu Bar:</emphasis> This widget enables
2523 you to disable menus by clicking on the menu to release it,
2524 menu entries by deselecting the check box of the entry to
2525 disable it and the complete menu bar by deselecting the
2526 rightmost check box.
2527 </para>
2528 </listitem>
2529
2530 <listitem>
2531 <para>
2532 <emphasis role="bold">Mini ToolBar:</emphasis> In full screen
2533 or seamless mode, &product-name; can display a small toolbar
2534 that contains some of the items that are normally available
2535 from the virtual machine's menu bar. This toolbar reduces
2536 itself to a small gray line unless you move the mouse over it.
2537 With the toolbar, you can return from full screen or seamless
2538 mode, control machine execution or enable certain devices. If
2539 you do not want to see the toolbar, disable this setting.
2540 </para>
2541
2542 <para>
2543 The second setting enables you to show the toolbar at the top
2544 of the screen, instead of showing it at the bottom.
2545 </para>
2546 </listitem>
2547
2548 <listitem>
2549 <para>
2550 <emphasis role="bold">Status Bar:</emphasis> This widget
2551 enables you to disable icons on the status bar by deselecting
2552 the check box of an icon to disable it, to rearrange icons by
2553 dragging and dropping the icon, and to disable the complete
2554 status bar by deselecting the leftmost check box.
2555 </para>
2556 </listitem>
2557
2558 </itemizedlist>
2559
2560 </sect1>
2561
2562 <sect1 id="efi">
2563
2564 <title>Alternative Firmware (EFI)</title>
2565
2566 <para>
2567 &product-name; includes experimental support for the Extensible
2568 Firmware Interface (EFI), which is an industry standard intended
2569 to replace the legacy BIOS as the primary interface for
2570 bootstrapping computers and certain system services later.
2571 </para>
2572
2573 <para>
2574 By default, &product-name; uses the BIOS firmware for virtual
2575 machines. To use EFI for a given virtual machine, you can enable
2576 EFI in the machine's <emphasis role="bold">Settings</emphasis>
2577 dialog. See <xref linkend="settings-motherboard"/>. Alternatively,
2578 use the <command>VBoxManage</command> command line interface as
2579 follows:
2580 </para>
2581
2582<screen>VBoxManage modifyvm "VM name" --firmware efi</screen>
2583
2584 <para>
2585 To switch back to using the BIOS:
2586 </para>
2587
2588<screen>VBoxManage modifyvm "VM name" --firmware bios</screen>
2589
2590 <para>
2591 One notable user of EFI is Apple Mac OS X. More recent Linux
2592 versions and Windows releases, starting with Vista, also offer
2593 special versions that can be booted using EFI.
2594 </para>
2595
2596 <para>
2597 Another possible use of EFI in &product-name; is development and
2598 testing of EFI applications, without booting any OS.
2599 </para>
2600
2601 <para>
2602 Note that the &product-name; EFI support is experimental and will
2603 be enhanced as EFI matures and becomes more widespread. Mac OS X,
2604 Linux, and newer Windows guests are known to work fine. Windows 7
2605 guests are unable to boot with the &product-name; EFI
2606 implementation.
2607 </para>
2608
2609 <sect2 id="efividmode">
2610
2611 <title>Video Modes in EFI</title>
2612
2613 <para>
2614 EFI provides two distinct video interfaces: GOP (Graphics Output
2615 Protocol) and UGA (Universal Graphics Adapter). Modern OSes,
2616 such as Mac OS X, generally use GOP, while some older ones still
2617 use UGA. &product-name; provides a configuration option to
2618 control the graphics resolution for both interfaces, making the
2619 difference mostly irrelevant for users.
2620 </para>
2621
2622 <para>
2623 The default resolution is 1024x768. To select a graphics
2624 resolution for EFI, use the following
2625 <command>VBoxManage</command> command:
2626 </para>
2627
2628<screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiGraphicsResolution HxV</screen>
2629
2630 <para>
2631 Determine the horizontal resolution H and the vertical
2632 resolution V from the following list of default resolutions:
2633 </para>
2634
2635 <variablelist>
2636
2637 <varlistentry>
2638 <term>
2639 VGA
2640 </term>
2641
2642 <listitem>
2643 <para>
2644 640x480, 32bpp, 4:3
2645 </para>
2646 </listitem>
2647 </varlistentry>
2648
2649 <varlistentry>
2650 <term>
2651 SVGA
2652 </term>
2653
2654 <listitem>
2655 <para>
2656 800x600, 32bpp, 4:3
2657 </para>
2658 </listitem>
2659 </varlistentry>
2660
2661 <varlistentry>
2662 <term>
2663 XGA
2664 </term>
2665
2666 <listitem>
2667 <para>
2668 1024x768, 32bpp, 4:3
2669 </para>
2670 </listitem>
2671 </varlistentry>
2672
2673 <varlistentry>
2674 <term>
2675 XGA+
2676 </term>
2677
2678 <listitem>
2679 <para>
2680 1152x864, 32bpp, 4:3
2681 </para>
2682 </listitem>
2683 </varlistentry>
2684
2685 <varlistentry>
2686 <term>
2687 HD
2688 </term>
2689
2690 <listitem>
2691 <para>
2692 1280x720, 32bpp, 16:9
2693 </para>
2694 </listitem>
2695 </varlistentry>
2696
2697 <varlistentry>
2698 <term>
2699 WXGA
2700 </term>
2701
2702 <listitem>
2703 <para>
2704 1280x800, 32bpp, 16:10
2705 </para>
2706 </listitem>
2707 </varlistentry>
2708
2709 <varlistentry>
2710 <term>
2711 SXGA
2712 </term>
2713
2714 <listitem>
2715 <para>
2716 1280x1024, 32bpp, 5:4
2717 </para>
2718 </listitem>
2719 </varlistentry>
2720
2721 <varlistentry>
2722 <term>
2723 SXGA+
2724 </term>
2725
2726 <listitem>
2727 <para>
2728 1400x1050, 32bpp, 4:3
2729 </para>
2730 </listitem>
2731 </varlistentry>
2732
2733 <varlistentry>
2734 <term>
2735 WXGA+
2736 </term>
2737
2738 <listitem>
2739 <para>
2740 1440x900, 32bpp, 16:10
2741 </para>
2742 </listitem>
2743 </varlistentry>
2744
2745 <varlistentry>
2746 <term>
2747 HD+
2748 </term>
2749
2750 <listitem>
2751 <para>
2752 1600x900, 32bpp, 16:9
2753 </para>
2754 </listitem>
2755 </varlistentry>
2756
2757 <varlistentry>
2758 <term>
2759 UXGA
2760 </term>
2761
2762 <listitem>
2763 <para>
2764 1600x1200, 32bpp, 4:3
2765 </para>
2766 </listitem>
2767 </varlistentry>
2768
2769 <varlistentry>
2770 <term>
2771 WSXGA+
2772 </term>
2773
2774 <listitem>
2775 <para>
2776 1680x1050, 32bpp, 16:10
2777 </para>
2778 </listitem>
2779 </varlistentry>
2780
2781 <varlistentry>
2782 <term>
2783 Full HD
2784 </term>
2785
2786 <listitem>
2787 <para>
2788 1920x1080, 32bpp, 16:9
2789 </para>
2790 </listitem>
2791 </varlistentry>
2792
2793 <varlistentry>
2794 <term>
2795 WUXGA
2796 </term>
2797
2798 <listitem>
2799 <para>
2800 1920x1200, 32bpp, 16:10
2801 </para>
2802 </listitem>
2803 </varlistentry>
2804
2805 <varlistentry>
2806 <term>
2807 DCI 2K
2808 </term>
2809
2810 <listitem>
2811 <para>
2812 2048x1080, 32bpp, 19:10
2813 </para>
2814 </listitem>
2815 </varlistentry>
2816
2817 <varlistentry>
2818 <term>
2819 Full HD+
2820 </term>
2821
2822 <listitem>
2823 <para>
2824 2160x1440, 32bpp, 3:2
2825 </para>
2826 </listitem>
2827 </varlistentry>
2828
2829 <varlistentry>
2830 <term>
2831 Unnamed
2832 </term>
2833
2834 <listitem>
2835 <para>
2836 2304x1440, 32bpp, 16:10
2837 </para>
2838 </listitem>
2839 </varlistentry>
2840
2841 <varlistentry>
2842 <term>
2843 QHD
2844 </term>
2845
2846 <listitem>
2847 <para>
2848 2560x1440, 32bpp, 16:9
2849 </para>
2850 </listitem>
2851 </varlistentry>
2852
2853 <varlistentry>
2854 <term>
2855 WQXGA
2856 </term>
2857
2858 <listitem>
2859 <para>
2860 2560x1600, 32bpp, 16:10
2861 </para>
2862 </listitem>
2863 </varlistentry>
2864
2865 <varlistentry>
2866 <term>
2867 QWXGA+
2868 </term>
2869
2870 <listitem>
2871 <para>
2872 2880x1800, 32bpp, 16:10
2873 </para>
2874 </listitem>
2875 </varlistentry>
2876
2877 <varlistentry>
2878 <term>
2879 QHD+
2880 </term>
2881
2882 <listitem>
2883 <para>
2884 3200x1800, 32bpp, 16:9
2885 </para>
2886 </listitem>
2887 </varlistentry>
2888
2889 <varlistentry>
2890 <term>
2891 WQSXGA
2892 </term>
2893
2894 <listitem>
2895 <para>
2896 3200x2048, 32bpp, 16:10
2897 </para>
2898 </listitem>
2899 </varlistentry>
2900
2901 <varlistentry>
2902 <term>
2903 4K UHD
2904 </term>
2905
2906 <listitem>
2907 <para>
2908 3840x2160, 32bpp, 16:9
2909 </para>
2910 </listitem>
2911 </varlistentry>
2912
2913 <varlistentry>
2914 <term>
2915 WQUXGA
2916 </term>
2917
2918 <listitem>
2919 <para>
2920 3840x2400, 32bpp, 16:10
2921 </para>
2922 </listitem>
2923 </varlistentry>
2924
2925 <varlistentry>
2926 <term>
2927 DCI 4K
2928 </term>
2929
2930 <listitem>
2931 <para>
2932 4096x2160, 32bpp, 19:10
2933 </para>
2934 </listitem>
2935 </varlistentry>
2936
2937 <varlistentry>
2938 <term>
2939 HXGA
2940 </term>
2941
2942 <listitem>
2943 <para>
2944 4096x3072, 32bpp, 4:3
2945 </para>
2946 </listitem>
2947 </varlistentry>
2948
2949 <varlistentry>
2950 <term>
2951 UHD+
2952 </term>
2953
2954 <listitem>
2955 <para>
2956 5120x2880, 32bpp, 16:9
2957 </para>
2958 </listitem>
2959 </varlistentry>
2960
2961 <varlistentry>
2962 <term>
2963 WHXGA
2964 </term>
2965
2966 <listitem>
2967 <para>
2968 5120x3200, 32bpp, 16:10
2969 </para>
2970 </listitem>
2971 </varlistentry>
2972
2973 <varlistentry>
2974 <term>
2975 WHSXGA
2976 </term>
2977
2978 <listitem>
2979 <para>
2980 6400x4096, 32bpp, 16:10
2981 </para>
2982 </listitem>
2983 </varlistentry>
2984
2985 <varlistentry>
2986 <term>
2987 HUXGA
2988 </term>
2989
2990 <listitem>
2991 <para>
2992 6400x4800, 32bpp, 4:3
2993 </para>
2994 </listitem>
2995 </varlistentry>
2996
2997 <varlistentry>
2998 <term>
2999 8K UHD2
3000 </term>
3001
3002 <listitem>
3003 <para>
3004 7680x4320, 32bpp, 16:9
3005 </para>
3006 </listitem>
3007 </varlistentry>
3008
3009 </variablelist>
3010
3011 <para>
3012 If this list of default resolution does not cover your needs,
3013 see <xref linkend="customvesa" />. Note that the color depth
3014 value specified in a custom video mode must be specified. Color
3015 depths of 8, 16, 24, and 32 are accepted. EFI assumes a color
3016 depth of 32 by default.
3017 </para>
3018
3019 <para>
3020 The EFI default video resolution settings can only be changed
3021 when the VM is powered off.
3022 </para>
3023
3024 </sect2>
3025
3026 <sect2 id="efibootargs">
3027
3028 <title>Specifying Boot Arguments</title>
3029
3030 <para>
3031 It is currently not possible to manipulate EFI variables from
3032 within a running guest. For example, setting the
3033 <literal>boot-args</literal> variable by running the
3034 <command>nvram</command> tool in a Mac OS X guest will not work.
3035 As an alternative method,
3036 <literal>VBoxInternal2/EfiBootArgs</literal> extradata can be
3037 passed to a VM in order to set the <literal>boot-args</literal>
3038 variable. To change the <literal>boot-args</literal> EFI
3039 variable, use the following command:
3040 </para>
3041
3042<screen>VBoxManage setextradata "VM name" VBoxInternal2/EfiBootArgs &lt;value&gt;</screen>
3043
3044 </sect2>
3045
3046 </sect1>
3047
3048</chapter>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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