
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
Machines
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.
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
64
Virtualization with Xen
Summary of Contents for LINUX ENTERPRISE 11 SP1 - LINUX AUDIT
Page 1: ...SUSE Linux Enterprise Desktop www novell com 11 SP1 August 18 2010 Virtualization with Xen ...
Page 6: ......
Page 11: ...Part I Getting Started with Xen ...
Page 12: ......
Page 18: ......
Page 41: ...Part II Advanced Configurations ...
Page 42: ......
Page 54: ......
Page 87: ...Part III Administration and Best Practices ...
Page 88: ......
Page 100: ......
Page 108: ......
Page 114: ......
Page 116: ......
Page 117: ...Part IV Appendix ...
Page 118: ......
Page 122: ......