Wake_Up_VM


include vmm.inc

mov     ebx, VM
VMMcall Wake_Up_VM

Restores an idle virtual machine, allowing the system to schedule the virtual machine for subsequent time slices. A virtual machine is idle if it has called the Release_Time_Slice service, or has set the VMStat_Idle flag in the CB_VM_Status field of its control block. Uses Flags.

VMHandle

Handle of the virtual machine to restore.

If the specified virtual machine is not idle, this service returns immediately (does nothing). Do not attempt to make a thread idle by merely setting the VMStat_Idle bit in the CB_VM_Status field. Use the Release_Time_Slice or Time_Slice_Sleep service to make a thread idle.

See also Release_Time_Slice