NVIDIA posts vGPU manager support for the nova driver
The Rust NVIDIA kernel driver would gain host-side control of whole-GPU SR-IOV virtual GPUs, with the VFIO front end still separate.
NVIDIA has posted the host-side machinery for creating and managing virtual GPUs in nova-core, the Rust driver for its GPUs in the Linux kernel. The work covers the whole-GPU SR-IOV path: one physical card split into PCI virtual functions a hypervisor can hand to guests, rather than NVIDIA's MIG partitioning.
Alok Kumar sent the changes to the kernel DRM development list. Much of the implementation is from Zhi Wang, with Alexandre Courbot and Eliot Courtney. It adds a vGPU manager inside the physical-function driver. That manager asks the GPU's GSP firmware which vGPU type is assigned to a virtual function, then reserves channels and a fixed slice of video memory for each instance.
The memory layout is what makes reuse workable. A vGPU type fixes both the guest framebuffer size and the management heap the firmware plugin needs. Allocating those regions separately would fragment VRAM and shift the layout between instances of the same type. The manager instead pins one exact range for every slot of a given layout and hands each instance a borrowed framebuffer and heap. A slot can be reused after its instance is removed. The reservation returns to the allocator only when the pool itself is dropped, and a different layout is reserved only when no instances remain.
Each instance also shares a buffer with its GSP plugin. The driver waits for a firmware ready marker, negotiates an RPC protocol, sends identity, channel, and host parameters, then reports that bus mastering is enabled so the guest can use the virtual GPU. Shutdown stops the plugin and releases firmware resources before those buffers are unmapped. Guest VRAM is scrubbed before plugin boot and again after shutdown, before the slot can be reused, using a copy-engine channel kept out of the set given to the plugin.
The intended path runs from NVIDIA's guest driver, on Linux or Windows, through QEMU and VFIO to a separate vGPU VFIO variant driver. That driver would bind the virtual function and call the physical-function open, close, and reset APIs added here. Typed publication of those services, and the VFIO driver itself, are not part of this work. Until they land, nova has the firmware and resource half of open vGPU support, not a way to start a virtual GPU from userspace.