Para-virtualization of NPU
summary
Architecture and prototype for para‑virtualizing the AMD NPU on Xen and KVM, reusing QEMU, the VirGL/VIRGO GPU model and Linux DRM plumbing; prototype works in KVM and code is on GitHub, while Zen/SVM support remains WIP. Memory flow uses guest SG lists that host-side remaps into a single contiguous host buffer for the hardware (guest scatter‑gather remap to contiguous host buffer). Current limitations: no per‑process PASID isolation yet and VirGL backend only supports one backend so GPU+NPU in one VM is unresolved.
AI-written summary · about
chapters (9)
- 0:00Introduction to NPU paravirtualization
- 7:12Open-source MPU software stack
- 10:28Virtualization requirements and challenges
- 13:46Solution leveraging GPU infrastructure
- 16:42Address translation and SVM limitations
- 19:35ZEN NPU virtualization details
- 21:52Current progress and prototype
- 25:14Key challenges and future work
- 28:07Q&A and open discussion
