HNHacker News
TopNewBestAskShowJobs

reindertpelsma

2 karma · joined April 24, 2026

submissionscomments
reindertpelsma··on Show HN: CUDA/graphics in QEMU-KVM VMs without passing the Nvidia card to them
It reaches parity because CUDA's hot path isn't forwarded at all. nvkvm forwards the ioctl control surface: context and channel setup, allocation, mapping and stops there. The guest maps the real device memory, so BAR writes from userspace go straight to hardware, and launching a kernel is a write to memory the guest already has in its VA space.