Version : 3.1.1
VM is a PVHVM. I want to edit the vm.cfg and include type=netfront for the vif directive. I can edit and bring up the vm fine. But as soon as i make changes to the vm using OVMM the manual changes done to the vm.cfg using CLI gets removed.
Workaround done by :
1. since using 2.6.18-308 RHEL kernel, xen drivers are included, hence created a new initrd and updated the modprobe.conf & grub.conf
2. in OVMM changed VM properties to HVM with PV Drivers
3. Rebooted machine, drivers are now xen-vnif and xen-vbd
But, interestingly, the vm.cfg did not get updated with the type=netfront directive.
I guess, it is better just to use the 2.6.32 kernel from now on ....