DXGKDDI_SETVIRTUALMACHINEDATA - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_SETVIRTUALMACHINEDATA DxgkddiSetvirtualmachinedata;

NTSTATUS DxgkddiSetvirtualmachinedata(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_SETVIRTUALMACHINEDATA Args
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_setvirtualmachinedata)

DXGKDDI_SETVIRTUALMACHINEDATA callback function

Description

Dxgkrnl calls DxgkddiSetVirtualMachineData to pass information about a virtual machine (VM) to the kernel-mode display driver (KMD).

Parameters

hAdapter

[in] The logical adapter for which to set VM data.

Args

[in] Pointer to a DXGKARG_SETVIRTUALMACHINEDATA structure that contains arguments to set VM data.

Return value

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

Remarks

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

Server GPU virtualization provides much stronger isolation, where VMs 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.

For more information, see GPU paravitualization.

See also

DXGKARG_SETVIRTUALMACHINEDATA