Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_IsCpuVtxEnabled Function
PHT_VM_CONFIGURATION

Determines whether the x86 virtualization (such as Vt-x) is available in the virtual machine CPU.

Syntax
PRL_RESULT PrlVmCfg_IsCpuVtxEnabled(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL_PTR pbVmCpuVtxEnabled
);
File

PrlApiVm.h

Parameters

pbVmCpuVtxEnabled
A pointer to a variable that receives the result. PRL_TRUE indicates that the x86 virtualization is available. PRL_FALSE indicates otherwise.
handle
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid PHT_VIRTUAL_MACHINE handle or NULL pointer to the output buffer was specified. 

PRL_ERR_NO_DATA - virtual machine configuration does not have necessary data. 

PRL_ERR_SUCCESS - operation completed successfully 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.