
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
Содержание 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: ......