7.6.1 Setting Up a new Virtual Machine
1 Create a new fully virtual machine or start an existing fully virtual machine. Use
2 Get the latest updates for the operating system from your update channel.
3 Verify that the Xen drivers are installed.
Setup your virtual machine to use the paravirtualized disk drivers:
1 In the VM Guest, edit the file /boot/grub/menu.lst. At the kernel line,
2 Now, the devices /dev/hda and /dev/hdb are disabled, and the machine
90
Virtualization with Xen
YaST > Virtualization > Virtual Machine.
3a Launch YaST by entering yast2 at a terminal.
3b Select Software > Software Management.
3c Search for xen-kmp and make sure that the appropriate drivers are installed
for your system.
If they are not selected, select them and click Accept to complete the instal-
lation.
append a parameter hdx=noprobe where hdx is the drive designation specified
in the virtual machine configuration file. For example, the disk specification in
your configuration file may look as follows:
disk=['file:/var/lib/xen/images/vm1/disk0,ioemu:hda,w', \
'file:/var/lib/xen/images/vm1/disk1,ioemu:hdb,w' ]
In this example, the virtual machine configuration file specifies two virtual disks
hda and hdb. If you want both disks to use the Xen drivers, add the parameters
hda=noprobe and hdb=noprobe to your kernel command line as follows:
kernel vmlinuz-kernel_ver <other_options> hda=noprobe hdb=noprobe
must be prepared to use the paravirtualized disk drivers. At the kernel line, change
the root device to the paravirtualized disk device. For example, if the kernel line
contains root=/dev/disk/by-id/xxx, change this entry to
Need help?
Do you have a question about the LINUX ENTERPRISE SERVER 10 SP2 - VIRTUALIZATION WITH XEN and is the answer not in the manual?