Virtuozzo Virtualization SDK C API Reference
Allows to modify a regular virtual machine to become a template, and vise versa.
A template is very similar to a regular virtual machine with the major exception being it cannot be started. Templates are used to create new virtual machines as exact copies of them. To create a virtual machine from a template, use the PrlVm_Clone function specifying the template as the source.