VM_Critical_Init

include vmm.inc

mov ebx, VM ; new VM handle

mov eax, VM_Critical_Init

VMMcall System_Control


The VM_Critical_Init message directs the virtual device to initialize itself for the new virtual machine. The system disables interrupts before sending this message.

Parameters

VM

Specifies a handle identifying the virtual machine to create.

Return Value

The carry flag is clear if the virtual device initialized successfully. Otherwise, the carry flag is set to prevent the virtual machine from being created.

Comments

The virtual device must not use the Simulate_Int or Exec_Int services in the specified virtual machine.

Uses

Flags

See Also

Create_VM, VM_Init