HyperPlatform Programmer's Reference
Functions
vm.h File Reference

Declares interfaces to VMM initialization functions. More...

#include <fltKernel.h>
Include dependency graph for vm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NTSTATUS VmInitialization ()
 Virtualizes all processors. More...
 
void VmTermination ()
 De-virtualize all processors. More...
 
NTSTATUS VmHotplugCallback (const PROCESSOR_NUMBER &proc_num)
 Virtualizes the specified processor. More...
 

Detailed Description

Declares interfaces to VMM initialization functions.

Definition in file vm.h.

Function Documentation

◆ VmHotplugCallback()

NTSTATUS VmHotplugCallback ( const PROCESSOR_NUMBER &  proc_num)

Virtualizes the specified processor.

Parameters
proc_numA processor number to virtualize
Returns
STATUS_SUCCESS on success

The processor 0 must have already been virtualized, or it fails.

Definition at line 997 of file vm.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VmInitialization()

NTSTATUS VmInitialization ( )

Virtualizes all processors.

Returns
STATUS_SUCCESS on success

Initializes a VMCS region and virtualizes (ie, enters the VMX non-root operation mode) for each processor. Returns non STATUS_SUCCESS value if any of processors failed to do so. In that case, this function de-virtualize already virtualized processors.

Definition at line 143 of file vm.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VmTermination()

void VmTermination ( )

De-virtualize all processors.

Definition at line 890 of file vm.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: