DXGKDDI_WRITEVIRTUALIZEDINTERRUPT callback function (d3dkmddi.h)

DxgkDdiWriteVirtualizedInterrupt services writes to the MSI-X interrupt table during the process of live migration of a virtualized GPU device.

Syntax

DXGKDDI_WRITEVIRTUALIZEDINTERRUPT DxgkddiWritevirtualizedinterrupt;

NTSTATUS DxgkddiWritevirtualizedinterrupt(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_GPUP_WRITE_VIRTUALIZED_MSIX pArgs
)
{...}

Parameters

hAdapter

[in] A handle to a context block associated with a display adapter. The display miniport driver previously provided this handle to Dxgkrnl in the MiniportDeviceContext output parameter of the DXGKDDI_ADD_DEVICE function.

pArgs

[in] Pointer to a DXGKARG_GPUP_WRITE_VIRTUALIZED_MSIX structure that contains information needed to write to the MSI-X table.

Return value

DxgkDdiWriteVirtualizedInterrupt returns STATUS_SUCCESS upon successful completion of the write operation; otherwise it returns an appropriate NTSTATUS code.

Remarks

KMD's DxgkDdiWriteVirtualizedInterrupt is used in the context of virtualizing GPU devices, specifically for handling interrupts. The MSI-X (Message Signaled Interrupts eXtended) table is a data structure used in the PCI (Peripheral Component Interconnect) system of a computer, which allows for device-specific handling of interrupts.

DxgkDdiWriteVirtualizedInterrupt should write the values specified in WriteValue to the MSI-X table.

For more information, see Live migration on GPU-P devices.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_GPUP_WRITE_VIRTUALIZED_MSIX

DXGK_INTERRUPT_TABLE_ENTRY