// d3dkmddi.h
DXGKDDI_SETVIRTUALMACHINEDATA DxgkddiSetvirtualmachinedata;
NTSTATUS DxgkddiSetvirtualmachinedata(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_SETVIRTUALMACHINEDATA Args
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Dxgkrnl calls DxgkddiSetVirtualMachineData to pass information about a virtual machine (VM) to the kernel-mode display driver (KMD).
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 STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code.
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.