Feature #6683
closedSupport PV vm's install
Description
Hello,
It would be nice to be able to install pv vm's.
Before answering "That is not a xenserver supported feature" I will explain.
At the moment the plugin sets HVM boot to the vm on creation.
It is possible to convert it to PV via changeing the HVM_BOOT and PV_BOOT attributed of the vm(like xenserver does when you install from template and start the vm in recovery mode)
As I see it this can be made possible by using the before_provision and after_build hooks(they will change to hvmboot before provision and change it to pvboot after build completed)
The motivation behind this request is the performance differences between the 2 types of boot.
Thank you
Updated by Pujan Shah about 10 years ago
This is manually achivable and it would be great if this can be automated via plugin
Updated by Ben Bettridge over 9 years ago
You might want to have a look at PVHVM machines and the performance increases found there. It's worth noting that PV is not uniformly faster/better than PVHVM, it depends on the version of Xen, Linux Kernel and exactly what the VM is being used for.
I have hacked support for this in to our current internal codebase but it bootstraps an actual PV install using pygrub instead of converting from HVM afterwards. In the end supporting different versions of pygrub became a nightmare and now we run everything as PVHVM.
Updated by George Lucan over 9 years ago
Hello,
You are right that things have changed since I opened this feature request.
I will explain:
We used RHEL 6 on most machines. The supported way (that Citrix recommended) was installing by template(that was PV). Also we had a lot of issues(and there were a lot of bugs in RHEL 6 with memory management and a PVHVM guest, the ballooning driver was badly broken and refused to release memory when xenserver asked). RHEL 6 in PV modes had no issues.
RHEL 7 changed the game and now the recommended install is PVHVM.
At this point in time it is more like a nice to have.
Thanks
Updated by Anonymous about 9 years ago
- Status changed from New to Rejected
Closing this on the "That is not a xenserver supported feature" card as it's next to impossible to implement this in a clean way when it's not supported by Xen itself and exposed via API, usable by fog.