Set_Execution_Focus

include vmm.inc

mov     ebx, VMHandle
VMMCall Set_Execution_Focus
jc      focus_not_set
 

Assigns the execution focus to the specified virtual machine. Uses Flags.

VMHandle
Handle of the virtual machine to receive the execution focus.

When a virtual machine receives the execution focus, the system suspends all other virtual machines except the system virtual machine and background virtual machines.

Only the system virtual machine can assign the execution focus to other virtual machines; a non-system virtual machine can only assign the execution focus to itself.

See Also

Get_Execution_Focus