DXGKDDI_SETVIRTUALMACHINEDATA callback function (d3dkmddi.h)

Set the virtual machine data.

Syntax

DXGKDDI_SETVIRTUALMACHINEDATA DxgkddiSetvirtualmachinedata;

NTSTATUS DxgkddiSetvirtualmachinedata(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETVIRTUALMACHINEDATA Args
)
{...}

Parameters

hAdapter

The logical adapter for which to set virtual machine data.

Args

Pointer to a DXGKARG_SETVIRTUALMACHINEDATA structure that contains arguments to set virtual machine data.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.

Remarks

Register your implementation of this callback function by setting the appropriate member of DXGKARG_SETVIRTUALMACHINEDATA and then calling DxgkddiSetVirtualMachineData.

Client GPU virtualization provides an isolation layer at the Dxgkrnl level for a particular process that runs in the context of a dedicated virtual machine. For the purpose of GPU hardware scheduling, work submitted by the virtual machine dedicated to such process is simply treated as a separate GPU client process.

Server GPU virtualization provides much stronger isolation, where virtual machines are completely isolated from each other at the OS Hypervisor level and each VM is guaranteed a fixed GPU time slice, within which they run their own scheduling algorithm across priority bands, processes, and contexts.

Requirements

Requirement Value
Header d3dkmddi.h