VM_Init

include vmm.inc

mov ebx, VM ; new VM handle

mov eax, VM_Init

VMMcall System_Control


The VM_Init message directs the virtual device to initialize the state of the software in the new virtual machine. For example, the virtual display device issues Interrupt 10h to set the initial display mode. The system enables 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 the virtual machine successfully. Otherwise, the carry flag is set to prevent the system from creating the virtual machine.

Comments

The virtual device can use the Simulate_Int and Exec_Int services in the specified virtual machine.

Uses

Flags

See Also

Create_VM, VM_Critical_Init