mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-10 13:50:21 +00:00
a423bf13ad
The new virtio-queue version introduced some breaking changes which need to be addressed so that Cloud Hypervisor can still work with this version. The most important change is about removing a handle to the guest memory from the Queue, meaning the caller has to provide the guest memory handle for multiple methods from the QueueT trait. One interesting aspect is that QueueT has been widely extended to provide every getter and setter we need to access and update the Queue structure without having direct access to its internal fields. This patch ports all the virtio and vhost-user devices to this new crate definition. It also updates both vhost-user-block and vhost-user-net backends based on the updated vhost-user-backend crate. It also updates the fuzz directory. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
25 lines
581 B
TOML
25 lines
581 B
TOML
[package]
|
|
name = "block_util"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dependencies]
|
|
io-uring = "0.5.3"
|
|
libc = "0.2.126"
|
|
log = "0.4.17"
|
|
qcow = { path = "../qcow" }
|
|
thiserror = "1.0.31"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vhdx = { path = "../vhdx" }
|
|
virtio-bindings = { version = "0.1.0", features = ["virtio-v5_0_0"] }
|
|
virtio-queue = "0.5.0"
|
|
vm-memory = { version = "0.8.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = "0.10.0"
|
|
|