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.
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.
Get_Execution_Focus