VM_Suspend

include vmm.inc

mov ebx, VM ; VM handle

mov eax, VM_Suspend

VMMcall System_Control


The VM_Suspend message notifies the virtual device that the system is suspending execution of the virtual machine. The virtual device should unlock any resources associated with the virtual machine.

Parameters

VM

Specifies a handle identifying the virtual machine to suspend.

Return Value

The carry flag must be clear.

Comments

The virtual machine remains suspended until explicitly resumed. The system sends the VM_Suspend message each time the virtual machine is suspended. It sends a VM_Resume message when the virtual machine is resumed.

The CB_VM_Status field in the control block for the virtual machine specifies whether the virtual machine is suspended.

Uses

Flags

See Also

VM_Resume