Novell SUSE LINUX ENTERPRISE DESKTOP 11 SP1 - 8-18-2010 VIRTUALIZATION WITH ZEN Manual page 74

Virtualization with xen
Table of Contents

Advertisement

Paravirtualized guests can use the device type tap:cdrom:. This partly emulates the
behavior of the real CD reader, and allows CDs to be changed. It is even possible to
use the eject command to open the tray of the CD reader.
8.1.2 Virtual CD Readers on Fully Virtual
A fully virtual machine can have up to four block devices comprised of virtual CD
readers and virtual disks. A virtual CD reader on a fully virtual machine interacts with
the inserted CD in the way you expect a physical CD reader to interact. For example,
in a Windows* XP* virtual machine, the inserted CD appears in the Devices with
Removable Storage section of My Computer.
When a CD is inserted in the physical CD reader on the host computer, all virtual ma-
chines with virtual CD readers based on the physical CD reader, such as /dev/cdrom/,
are able to read the inserted CD. Assuming the operating system has automount func-
tionality, the CD should automatically appear in the file system. Virtual CD readers
cannot be used to write data to a CD. They are configured as read-only devices.
8.1.3 Adding Virtual CD Readers
Virtual CD readers can be based on a CD inserted into the CD reader or on an ISO
image file.
64
Virtualization with Xen
Machines
1 Make sure that the virtual machine is running and the operating system has
finished booting.
2 Insert the desired CD into the physical CD reader or copy the desired ISO
image to a location available to Domain0.
3 Select a new, unused block device in your VM Guest, such as /dev/xvdb.
4 Choose the CD reader or ISO image that you want to assign to the guest.
5 When using a real CD reader, use the following command to assign the CD
reader to your VM Guest. In this example, the name of the guest is alice:
xm block-attach alice tap:cdrom:/dev/sr0 xvdb r

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11 sp1

Table of Contents