
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
Содержание LINUX ENTERPRISE 11 SP1 - LINUX AUDIT
Страница 1: ...SUSE Linux Enterprise Desktop www novell com 11 SP1 August 18 2010 Virtualization with Xen ...
Страница 6: ......
Страница 11: ...Part I Getting Started with Xen ...
Страница 12: ......
Страница 17: ...Figure 1 2 Desktop Showing Virtual Machine Manager and Virtual Machines Introduction to Xen Virtualization 7 ...
Страница 18: ......
Страница 41: ...Part II Advanced Configurations ...
Страница 42: ......
Страница 54: ......
Страница 87: ...Part III Administration and Best Practices ...
Страница 88: ......
Страница 100: ......
Страница 108: ......
Страница 114: ......
Страница 116: ......
Страница 117: ...Part IV Appendix ...
Страница 118: ......
Страница 122: ......