VM_Not_Executeable

include vmm.inc

mov ebx, VM ; VM handle

mov edx, Flags ; flags

mov eax, VM_Not_Executeable

VMMcall System_Control


The VM_Not_Executeable message notifies the virtual device that the virtual machine is no longer capable of executing. The system sends this message as the first phase of terminating the virtual machine.

Parameters

VM

Specifies a handle identifying the virtual machine.

Flags

Specifies the reason the virtual machine is no longer executable. This parameter can be one of the following values:

Value Meaning

VNE_Crashed Virtual machine has crashed.
VNE_Nuked Virtual machine was destroyed while active.
VNE_CreateFail Some device failed Create_VM.
VNE_CrInitFail Some device failed VM_Critical_Init.
VNE_InitFail Some device failed VM_Init.

Return Value

The carry flag must be clear.

Comments

When destroying a running virtual machine, the system sends this message first and never sends the VM_Terminate message.

The virtual device must not call the Simulate_Int or Exec_Int service in the specified virtual machine.

Uses

Flags

See Also

VM_Terminate