Show HN: Device emulation outside QEMU using vfio-user and libvfio-user
Category: library
Tags: vfio, pci-emulation, userspace-driver
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 7)
libvfio-user is a C library that enables PCI device emulation in userspace via the vfio-user protocol over UNIX sockets, offering an alternative to kernel-based VFIO. It is interesting because it brings the flexibility of userspace to device emulation, similar to vhost-user for virtio, and is already used by QEMU and SPDK for virtual NVMe controllers.
Target audience: backend devs, virtualization engineers, storage devs
Repository: https://github.com/nutanix/libvfio-user · C · BSD-3-Clause · 228 stars
View on Hacker News