Jump to: navigation, search
Attaching a Device to a domainU Guest
Next we need to know the name by which the device to be added is accessed on the domain0 host (otherwise known as the ''backend device''). For the purposes of this chapter we will assume that we are added a DVD drive that is visible to the domain0 host system as ''/dev/sr0''. This could equally be a disk drive partition such as ''/dev/hdb1'' or ''/dev/sda3''.
Before performing the attachment, we need to decide on a device name by which the device will be accessible on the domainU system (known as the ''frontend device''). As mentioned previously the device name must be an ''xvd'' device (for example ''/dev/xvda2''). Failure to use an ''xvd'' device type will result in the device not appearing in the domainU guest. For this chapter we will specify ''/dev/xvda2''.
With the above information gathered we will attach the device. Since we are attaching a DVD drive we will specify read-only mode:

Navigation menu