VPICD_Force_Default_Owner


include vpicd.inc

mov     eax, IRQNum
mov     ebx, VMHandle
VxDcall VPICD_Force_Default_Owner

jc      errorhandler

Forces VPICD's default interrupt handler to direct a specified IRQ to a particular virtual machine, or to make the IRQ global so that any virtual machine can receive the interrupt. Uses Flags.

IRQNum

Number of the IRQ for which ownership is set. The high word of the IRQNum may be one of the following:

VPICD_FDO_NO_CONTENTION

Specifies that VPICD should not indicate contention on a non-virtualized IRQ to the user.

VPICD_FDO_FAVOR_FOCUS

Specifies that VPICD should request interrupts into the execution focus VM instead of the current VM, if the critical section is not owned.


VMHandlle

Handle of the virtual machine to receive ownership. If this parameter is 0, the IRQ is given global ownership and any virtual machine can receive the interrupt.