Sei sulla pagina 1di 1

PV2HVM.

txt
Procedures to covert PV-VM to PVHVM domU (rev2)
===============================================

1. login as root to the VM and change the default boot kernel to PVHVM
- Modifying /boot/grub/grub.conf
(set "default=0" in most of the cases)
- Modify /etc/fstab
Replace "sdxx" to "xvdxx"
2. Shutdown the VM from VMAC GUI.
3. login to the one of the dom0 of the serverpool with root privilage
4. Change the following in /OVS/running_pool/xxxx_<hostname>/vm.cfg file
- comment out " bootloader = '/usr/bin/pygrub' "
- Add the following:
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
kernel = '/usr/lib/xen/boot/hvmloader'
- If the VM is 32bit, set "timer_mode = 0"
- Replace all "sdx" to "xvdx" in the disk field
5. Test the changes with "xm create -n /OVS/running_pool/xxxx_<hostname>/vm.cfg"
6. If everything is ok, startup the VM via VMAC.

Page 1

Potrebbero piacerti anche