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 nonsystem virtual machine can only assign the execution focus to itself.

See also Get_Execution_Focus