mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
This patch bumps the following crates, including `kvm-bindings@0.7.0`*, `kvm-ioctls@0.16.0`**, `linux-loader@0.11.0`, `versionize@0.2.0`, `versionize_derive@0.1.6`***, `vhost@0.10.0`, `vhost-user-backend@0.13.1`, `virtio-queue@0.11.0`, `vm-memory@0.14.0`, `vmm-sys-util@0.12.1`, and the latest of `vfio-bindings`, `vfio-ioctls`, `mshv-bindings`,`mshv-ioctls`, and `vfio-user`. * A fork of the `kvm-bindings` crate is being used to support serialization of various structs for migration [1]. Also, code changes are made to accommodate the updated `struct xsave` from the Linux kernel. Note: these changes related to `struct xsave` break live-upgrade. ** The new `kvm-ioctls` crate introduced breaking changes for the `get/set_one_reg` API on `aarch64` [2], so code changes are made to the new APIs. *** A fork of the `versionize_derive` crate is being used to support versionize on packed structs [3]. [1] https://github.com/cloud-hypervisor/kvm-bindings/tree/ch-v0.7.0 [2] https://github.com/rust-vmm/kvm-ioctls/pull/223 [3] https://github.com/cloud-hypervisor/versionize_derive/tree/ch-0.1.6 Fixes: #6072 Signed-off-by: Bo Chen <chen.bo@intel.com>
140 lines
2.4 KiB
TOML
140 lines
2.4 KiB
TOML
[package]
|
|
name = "cloud-hypervisor-fuzz"
|
|
version = "0.0.0"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
edition = "2021"
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[features]
|
|
igvm = []
|
|
|
|
[dependencies]
|
|
block = { path = "../block" }
|
|
devices = { path = "../devices" }
|
|
epoll = "4.3.1"
|
|
libc = "0.2.152"
|
|
libfuzzer-sys = "0.4.7"
|
|
linux-loader = { version = "0.11.0", features = ["elf", "bzimage", "pe"] }
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
|
net_util = { path = "../net_util" }
|
|
once_cell = "1.19.0"
|
|
seccompiler = "0.4.0"
|
|
virtio-devices = { path = "../virtio-devices" }
|
|
virtio-queue = "0.11.0"
|
|
vmm = { path = "../vmm" }
|
|
vmm-sys-util = "0.12.1"
|
|
vm-memory = "0.14.0"
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
|
|
[dependencies.cloud-hypervisor]
|
|
path = ".."
|
|
|
|
[patch.crates-io]
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.7.0" }
|
|
versionize_derive = { git = "https://github.com/cloud-hypervisor/versionize_derive", branch = "ch-0.1.6" }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "balloon"
|
|
path = "fuzz_targets/balloon.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "block"
|
|
path = "fuzz_targets/block.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "cmos"
|
|
path = "fuzz_targets/cmos.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "console"
|
|
path = "fuzz_targets/console.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "http_api"
|
|
path = "fuzz_targets/http_api.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "iommu"
|
|
path = "fuzz_targets/iommu.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "linux_loader"
|
|
path = "fuzz_targets/linux_loader.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "linux_loader_cmdline"
|
|
path = "fuzz_targets/linux_loader_cmdline.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "mem"
|
|
path = "fuzz_targets/mem.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "net"
|
|
path = "fuzz_targets/net.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "pmem"
|
|
path = "fuzz_targets/pmem.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "qcow"
|
|
path = "fuzz_targets/qcow.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "rng"
|
|
path = "fuzz_targets/rng.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "serial"
|
|
path = "fuzz_targets/serial.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "vhdx"
|
|
path = "fuzz_targets/vhdx.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "watchdog"
|
|
path = "fuzz_targets/watchdog.rs"
|
|
test = false
|
|
doc = false
|