Resume_VM


include vmm.inc

mov     ebx, VMHandle
VMMcall Resume_VM
jc      not_resumed

Resumes the execution of a virtual machine previously suspended by the Suspend_VM service. Uses Flags.

VMHandle

Handle of the virtual machine to resume.

This service decrements the suspend count, and places the virtual machine in the ready-processes queue if the new count is zero. The system carries out a task switch to the resumed virtual machine if the virtual machine has a higher priority than the current virtual machine.

An error can occur if a virtual device cannot lock the memory handles for the specified virtual machine. The system notifies every virtual device of the request to resume a virtual machine, and any virtual device can deny the request. In such cases, this service returns with the carry flag set and the virtual machine remains suspended with a suspend count of 1.

See also No_Fail_Resume_VM, Suspend_VM