[one-users] VM config template

knawnd at gmail.com knawnd at gmail.com
Fri Mar 25 02:56:38 PDT 2011


Dear all,

is it possible to change ONE VM template format in case of OpenVZ 
hypervisor and would it be enough to take those changes into account  in 
OvzDriver.cc only? Or ONE VM template format is robust and the changes 
in other files are required as well (if yes then in which files?)?
For example, I'd like to write MEMORY parameter for OpenVZ VM as
MEMORY  = [ KMEMSIZE="14372700:14790164",
             LOCKEDPAGES="2048:2048",
             PRIVVMPAGES="65536:69632",
             SHMPAGES="21504:21504",
             PHYSPAGES="0:unlimited",
             VMGUARPAGES="33792:unlimited",
             OOMGUARPAGES="26112:unlimited" ]

whereas for xen now it looks like

MEMORY = 256.

Nikolay.


More information about the Users mailing list