3 releases
| 0.1.2 | Nov 12, 2025 |
|---|---|
| 0.1.1 | Sep 2, 2025 |
| 0.1.0 | Jun 10, 2025 |
#9 in #pci-devices
10,146 downloads per month
46KB
1K
SLoC
vfio_user
Design
This crate provides the client and server support for implementing vfio-user devices. More details of vfio-user can be found in the protocol specification.
Usage
There are two structs:
Clientprovides a vfio-user client (the part that sits in the VMM)Serverprovides a vfio-user server (the part that implements the device)
Examples
The examples directory contains a sample PCI device implementing a GPIO controller. It can be compiled with cargo build --examples
Licence
This crate is licensed under the Apache 2.0 licence. The full text can be found in the LICENSE-APACHE file.
Dependencies
~1.7–2.9MB
~53K SLoC