2026-11-26 15:48 UTC

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

09-08 13:28 (minted)⭐ origin echo-reconstructedThe creator says the implementation forwards the NVIDIA driver's ioctl surface to support stock CUDA and Vulkan in multiple guests while the
reindertpelsma on github (echo) · attributed from hn.story.49609389 · published time unknown
—
09-08 12:25first on hacker news · published · lag ?Show HN: CUDA/graphics in QEMU-KVM VMs without passing the Nvidia card to them
reindertpelsma
—
09-08 12:25amplified on hacker newshn.story.49609389
reindertpelsma
peak 5 · 2 comments · 3% of case engagement
09-24 01:02amplified on hacker news 👑hn.story.49824864
WanjohiRyan
peak 155 · 65 comments · 85% of case engagement
09-24 01:04amplified on hacker newshn.story.49824884
WanjohiRyan
peak 27 · 4 comments · 12% of case engagement
09-08 13:21our radar first saw it · lag ?discovery anchor: hn.story.49609389—

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: CUDA/graphics in QEMU-KVM VMs without passing the Nvidia card to themreindertpelsma52
🟧 echo.github ⭐The creator says the implementation forwards the NVIDIA driver's ioctl surface to support stock CUDA and Vulkan in multiple guests while thereindertpelsma——
🟧 hnVirtio-nvgpu: Near-native Nvidia GPU access inside a KVM guestWanjohiRyan15565
🟧 hnNesbox: A fast MicroVM with GPU sharingWanjohiRyan274

Interpretation history

Decision trace