Repository

reindertpelsma/nvkvm-pv

nvkvm-pv

Open github.com

reindertpelsma/nvkvm-pv

nvkvm-pv

Paravirtual NVIDIA GPU for KVM guests allowing unmodified CUDA, PyTorch, and Vulkan inside a VM while host keeps using the GPU. No passthrough or vGPU license needed.

Visit project

Show me a random project

First shared
Sep 8, 2026
HN activity
52

Show HN@reindertpelsmaSep 8, 2026

Show HN: CUDA/graphics in QEMU-KVM VMs without passing the Nvidia card to them

Hi HN. I built this because I wanted a VM with a real GeForce GPU without losing the card on my desktop. It allows you to run CUDA and graphics in VMs without VFIO/vGPU by forwarding the NVIDIA driver's own ioctl surface from the guest to the host. That means stock libcuda and real Vulkan ICD run in the guest - no CUDA/Vulkan API remoting or translation. Display, LLM, CUDA, headless supported. Your desktop keeps using the same card, multiple VMs supported. Happy to go into the details of the architecture.

Community

Hacker News discussion

Loading the thread…