Crate Addition Request: vfio_user
Opened this issue · 2 comments
Crate Name
vfio_user
Short Description
This crate implements the vfio-user protocol which allows the running of devices in a separate process. It is to VFIO what vhost-user is to virtio.
Why is this crate relevant to the rust-vmm project?
This crate is currently part of Cloud Hypervisor and is mature. It could be used for other VMMs that want to move device emulation to another process to enhance security. Currently only the client support is available but support for writing vfio-user devices can be added.
@rbradford can we have this as a crate in the vfio workspace instead of creating a new repo?
https://github.com/rust-vmm/vfio
@andreeaflorescu I'd rather not put it in there since it's really unrelated to vfio use cases. I also don't really want to burden the CODEOWNERS for that repository for something that is only related by name (well, it does share some of the datastructures from vfio-bindings but I think that's more for convenience.) Also I think there is probably scope for there to be potentially multiple crates in the same vfio_user workspace as there is both client and server support plus also potentially a test device.