VirtualBox

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

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

manual: update supported host OSes (drop 32-bit and "modernize" everything) and guest OSes

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

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