Community project proposes sharing an NVIDIA GPU with KVM guests via driver-ioctl forwarding
state: corroboratedheat: mediumuncertainty: highrelevance: mediumgpu-virtualization local-inference ai-infrastructureReindert PelsmaNVIDIA
What is this?
Reindert Pelsma’s nvkvm-pv is a community project that claims to let QEMU/KVM guests use unmodified NVIDIA CUDA and Vulkan software by forwarding driver ioctls to the host GPU, which remains available to the host and potentially multiple guests. The supplied sources describe the design and its intended capabilities, but do not establish measured performance, broad compatibility, or security guarantees.
Why it matters
If it works as claimed, nvkvm-pv could let a host and several QEMU/KVM guests use the same NVIDIA GPU without dedicating the device to one VM—a useful option for local inference, development, and graphics workloads. But the supplied evidence is mainly the creator’s description, not independent performance or compatibility testing. A discussion of a similar project, virtio-nvgpu, flags a major tradeoff for ioctl-forwarding designs: weak guest-to-host isolation. That concern warrants caution, especially for untrusted workloads.
Current assessment
Reindert Pelsma’s nvkvm-pv is presented as a paravirtual NVIDIA GPU project: a guest uses stock NVIDIA user-mode software, including CUDA and Vulkan, while driver ioctls are forwarded to the host GPU. The creator says the host can keep using the card and multiple VMs are supported; search results also describe intended PyTorch support and host-parity performance, but the supplied material contains no benchmark or independent validation of those claims. New context: September Hacker News submissions point to related GPU-sharing efforts, including virtio-nvgpu and Nesbox, suggesting interest in GPU access from multiple virtual machines, but do not establish nvkvm-pv’s maturity or capabilities. A comment about virtio-nvgpu—not nvkvm-pv specifically—warns that forwarding guest ioctls without strong restrictions can expose the host and offers weaker isolation than VFIO passthrough. Treat that as a relevant design concern, not a verified security audit of nvkvm-pv. For enthusiasts, this is worth watching as a possible way to share a local GPU across host and VM workloads; compatibility, performance under contention, resource controls, and isolation remain open questions.
Measured heat
now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1899h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
Evidence (4) — ⭐ canonical anchor
Interpretation history
2026-10-22T07:24:27Z
audience grounding: medium — If it works as claimed, nvkvm-pv could let a host and several QEMU/KVM guests use the same NVIDIA GPU without dedicating the device to one VM—a useful option for local inference, development, and graphics workloads. But the supplied evidence is mainly the creator’s description, not independent performance or compatibility testing. A discussion of a similar project, virtio-nvgpu, flags a major tradeoff for ioctl-forwarding designs: weak guest-to-host isolation. That concern warrants caution, especially for untrusted workloads.
Decision trace
- 10-22 18:24groundIf it works as claimed, nvkvm-pv could let a host and several QEMU/KVM guests use the same NVIDIA GPU without dedicating the device to one VM—a useful option for local inference, development, and grap
- 10-08 14:50review_dormantscheduled targets exhausted or 28 quiet days
- 10-08 14:50drop_targetsquiet through full ladder or over cap 8
- 10-07 19:40drop_targetsquiet through full ladder or over cap 8
- 09-26 05:07repriceThe virtio-nvgpu attention wave crested (152/65, peak ~16 pts/h on 09-25) and has flatlined to 0 pts/h without producing substance — no benchmark, reproduction, or answer on isolation, Windows guests,
- 09-25 02:21sensor_dirtyvelocity_spike
- 09-25 01:21sensor_dirtycomment_update
- 09-24 19:22sensor_dirtycomment_update
- 09-24 16:21sensor_dirtyvelocity_spike
- 09-24 14:45repriceThe case's meaning shifts from one creator's unverified claim to a corroborated engineering direction: virtio-nvgpu (near-native NVIDIA GPU access in KVM guests, citing gVisor nvproxy as dir
- 09-24 14:45groundConverges with his sandboxed-execution canon, which already names nvproxy-style driver-interface forwarding as the isolation-preserving route to GPU access and weighs GPU-virtualization-vs-passthrough
- 09-24 14:28attachIndependent microVM-with-GPU-sharing artifact shows the shared-virtualized-GPU-compute pattern emerging from a second direction, context for re-judging the nvkvm-pv case.
- 09-24 14:28attachIndependent parallel project (virtio-nvgpu) achieving near-native NVIDIA GPU access in KVM guests, corroborating the shared-GPU-virtualization approach.
- 09-24 14:25propose_attachIndependent microVM-with-GPU-sharing artifact shows the shared-virtualized-GPU-compute pattern emerging from a second direction, context for re-judging the nvkvm-pv case.
- 09-24 14:24propose_attachIndependent parallel project (virtio-nvgpu) achieving near-native NVIDIA GPU access in KVM guests, corroborating the shared-GPU-virtualization approach.
- 09-13 10:23review_screenThe change is a speculative question about performance versus alternative approaches and adds no validation, implementation result, or new factual evidence.
- 09-11 01:54repriceThe staleness review adds no validation beyond the creator’s announcement and its echo; nvkvm-pv remains an unverified local GPU-sharing evaluation lead, not an established deployment option. Cool att
- 09-11 01:54alert_silentThe announcement was already routed, and this review supplies no new consequential delta. Another interruption would repeat the same evaluation lead without improving Scott’s ability to act.
- 09-11 01:54alert_routeThe announcement was already routed, and this review supplies no new consequential delta. Another interruption would repeat the same evaluation lead without improving Scott’s ability to act.
- 09-08 23:36repriceNo substantive evidence has arrived since the announcement was routed for attention; the GitHub echo remains the same creator’s testimony, not independent validation. This remains a plausible GPU-shar
- 09-08 23:36alert_silentThe creator’s announcement has already been routed, and this reobservation adds no consequential delta warranting another interruption. Preserve its evaluation value without treating the echoed claim
- 09-08 23:36alert_routeThe creator’s announcement has already been routed, and this reobservation adds no consequential delta warranting another interruption. Preserve its evaluation value without treating the echoed claim
- 09-08 23:35alert_shadowThe creator’s announcement introduces a concrete alternative to dedicating a GPU to VM passthrough: reportedly, multiple guests can use stock CUDA and Vulkan through forwarded NVIDIA driver ioctls whi
- 09-08 23:35alert_routeThe creator’s announcement introduces a concrete alternative to dedicating a GPU to VM passthrough: reportedly, multiple guests can use stock CUDA and Vulkan through forwarded NVIDIA driver ioctls whi
- 09-08 23:30groundThis introduces a GPU-sharing mechanism not established in Scott’s wiki or already tracked in the supplied radar hits: if validated, it could offer an alternative deployment path for his gamepc CUDA m
- 09-08 23:28createThe released artifact addresses a concrete GPU-sharing constraint, but the announcement does not establish safe isolation between guests and host.