VMCPD_Set_Virt_State


include vmcpd.inc

mov ebx, VMHandle
mov al, Virt_State
VxDcall VMCPD_Set_Virt_State

Sets the virtual state of EM and MP bits for the given virtual machine. Uses Flags.

VMHandle

Handle of the virtual machine.

Virt_State

New virtual state of the EM and MP bits. Bit 0 sets the MPv bit; bit 1 the EMv bit.