mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-28 19:01:16 +00:00
Implement (most) of the client side (i.e. VMM side) of the vfio-user protocol: https://github.com/nutanix/libvfio-user/blob/master/docs/vfio-user.rst Items that are not implemented (because they are optimisations or unused due to alternative solutions: * VFIO_USER_DMA_READ/WRITE - this is a way for the server to read guest memory if the guest memory is not shared by fd where the client doesn't support it. However since we do support sharing the memory by fd this is not required. * VFIO_USER_GET_REGION_IO_FDS - an optimisation to bypass the VMM by having KVM talk directly to the backend using ioregionfd * VFIO_USER_DIRTY_PAGES - for the implementation of live migration Signed-off-by: Rob Bradford <robert.bradford@intel.com>
21 lines
475 B
TOML
21 lines
475 B
TOML
[package]
|
|
name = "vfio_user"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.42"
|
|
libc = "0.2.95"
|
|
log = "0.4.14"
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
thiserror = "1.0.26"
|
|
vm-memory = { version = "0.5.0", features = ["backend-mmap", "backend-atomic"] }
|
|
vmm-sys-util = ">=0.3.1"
|
|
|
|
[dependencies.vfio-bindings]
|
|
version = "0.2.0"
|
|
features = ["fam-wrappers"]
|