include vmm.inc
mov ebx, VM ; VM handle to test
VMMCall Test_Sys_VM_Handle
je is_system ; zero flag set if system VM handle
Determines whether the given virtual machine handle is the handle of the system virtual machine. This is an asynchronous service. Uses Flags.
Get_Sys_VM_Handle, Test_Cur_VM_Handle