DXGKDDI_SETVIRTUALMACHINEDATA callback function (d3dkmddi.h)
Dxgkrnl calls DxgkddiSetVirtualMachineData to pass information about a virtual machine (VM) to the kernel-mode display driver (KMD).
Syntax
DXGKDDI_SETVIRTUALMACHINEDATA DxgkddiSetvirtualmachinedata;
NTSTATUS DxgkddiSetvirtualmachinedata(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETVIRTUALMACHINEDATA Args
)
{...}
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 (WDDM 2.4) |
Header | d3dkmddi.h |
IRQL | PASSIVE_LEVEL |