Update information about using VirtualBox.
atapicam is no longer required and some devices need passthrough. PR: docs/173255 Submitted by: Yuri <yuri@tsoft.com> Approved by: jkois (mentor)
This commit is contained in:
parent
94bd4edef9
commit
c6140e03f2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39948
1 changed files with 20 additions and 9 deletions
|
|
@ -1254,11 +1254,16 @@ add path 'usb/*' mode 0660 group operator</programlisting>
|
|||
<sect2 id="virtualization-virtualbox-host-dvd-cd-access">
|
||||
<title>&virtualbox; Host DVD/CD Access</title>
|
||||
|
||||
<para>The <command>atapicam</command> kernel module needs to be
|
||||
loaded by adding the following line to
|
||||
<filename>/boot/loader.conf</filename>:</para>
|
||||
|
||||
<programlisting>atapicam_load="YES"</programlisting>
|
||||
<para>Access to the host DVD/CD drives from guests is achieved
|
||||
through the sharing of the physical drives. In GUI this is
|
||||
set up from the Storage window in the Settings of the virtual
|
||||
machine. Create an empty IDE CD/DVD device first.
|
||||
Then choose the Host Drive from the popup menu for the virtual
|
||||
CD/DVD drive selection. A checkbox labeled
|
||||
<literal>Passthrough</literal> check box will appear.
|
||||
This allows the virtual machine to use the hardware directly.
|
||||
For example, audio CDs or the burner only function if
|
||||
this option is selected.</para>
|
||||
|
||||
<para><acronym>HAL</acronym> needs to run for
|
||||
<application>&virtualbox;</application> DVD/CD functions to
|
||||
|
|
@ -1267,7 +1272,7 @@ add path 'usb/*' mode 0660 group operator</programlisting>
|
|||
|
||||
<programlisting>hald_enable="YES"</programlisting>
|
||||
|
||||
<screen>&prompt.root; <userinput>/usr/local/etc/rc.d/hald start</userinput></screen>
|
||||
<screen>&prompt.root; <userinput>service hald start</userinput></screen>
|
||||
|
||||
<para>In order for users to be able to use
|
||||
<application>&virtualbox;</application> DVD/CD functions, they
|
||||
|
|
@ -1276,12 +1281,18 @@ add path 'usb/*' mode 0660 group operator</programlisting>
|
|||
class="devicefile">/dev/cd<replaceable>N</replaceable></filename>,
|
||||
and <filename
|
||||
class="devicefile">/dev/pass<replaceable>N</replaceable></filename>.
|
||||
Add the following lines to
|
||||
This is usually achieved by making the user of
|
||||
<application>&virtualbox;</application>
|
||||
a member of the operator group, which is also the default
|
||||
group of the above mentioned devices. Permissions of these
|
||||
devices have to be corrected by adding the following lines to
|
||||
<filename>/etc/devfs.conf</filename>:</para>
|
||||
|
||||
<programlisting>perm cd0 0600
|
||||
<programlisting>perm cd* 0600
|
||||
perm xpt0 0660
|
||||
perm pass0 0660</programlisting>
|
||||
perm pass* 0660</programlisting>
|
||||
|
||||
<screen>&prompt.root; <userinput>/etc/rc.d/devfs restart</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue