# Physical Optical Drive

### Connecting a Physical Optical Drive

**--device-add cdrom** **--device** <*name*> \[**--iface** <**ide** | **scsi** | **sata**>] \[**--passthr** <**yes** | **no**>]

\[**--position** <*n*>] \[**--subtype** <**buslogic** | **lsi-spi** | **lsi-sas**>]

#### Parameters

**--device**: the name of the host computer's optical drive that will be connected to the virtual machine. To obtain the names of all optical drives installed on the host, use the **prlsrvctl info** command.

**--iface**: virtual optical drive interface type.

**--passthr**: enables the passthrough mode for the specified device.

**--position**: the SCSI / IDE / SATA device identifier to be used for the drive. Allowed ranges:

* 0-3 for IDE disk drives
* 0-6 for SCSI disk drives
* 0-5 for SATA disk drives

**--subtype**: virtual optical drive subtype.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/parallels-desktop-developers-guide/command-line-interface-utility/manage-virtual-machines-from-cli/virtual-machine-configuration-tasks/device-management/physical-optical-drive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
