Easiest way to convert HVM DomU to PVM

convertdomurhel5virtualizationxen

I've got a bunch of Xen 3.4 DomUs that are currently running as HVM because of our infrastructure (Kickstart which doesn't handle Xen PVM yet). Both DomU and Dom0 are RHEL5 machines. If I understand the documentation and configuration correctly, it would suffice to install kernel-xen on the DomUs, replace hvm with pvm in the .xsp files and set the correct boot loader. But has anyone tried this, is this really this easy?

Best Answer

You'll probably want to be sure that you have the serial console configured correctly (note that it's hvc0 or xvc0 under paravirt instead of ttyS0).

Depending on the kernel version you may also run into issues with your block devices being force-renamed from hda or sda to xvda. (This happens with paravirt_ops-style kernels; usually 2.6.27 and later, or so).