
6
When assigning an image file, use the following command:
xm block-attach alice file:/path/to/file.iso xvdb r
7
The image files may easily be removed by using
virt-manager
. However,
note that when adding CD readers, virt-manager uses a different device
backend for the CD reader that is not capable of changing CDs.
8
A new block device, such as
/dev/xvdb
, is added to the virtual machine.
9
If the virtual machine is running Linux, complete the following:
9a
Open a terminal in the virtual machine and enter
fdisk -l
to verify that
the device was properly added. You can also enter
ls /sys/block
to
see all disks available to the virtual machine.
The CD is recognized by the virtual machine as a virtual disk with a drive
designation, for example,
/dev/xvdb
9b
Enter the command to mount the CD or ISO image using its drive designation.
For example,
mount -o ro /dev/xvdb /mnt
mounts the CD to a mount point named
/mnt
.
The CD or ISO image file should be available to the virtual machine at the
specified mount point.
10
If the virtual machine is running Windows, reboot the virtual machine.
Verify that the virtual CD reader appears in its
My Computer
section
8.1.4 Removing Virtual CD Readers
1
Make sure that the virtual machine is running and the operating system has fin-
ished booting.
Virtualization: Configuration Options and Settings
65
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: ......