mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
2fac41f154
Instead of having the hypervisor crate embedding Cloud-Hypervisor forks from the rust-vmm project, it's more appropriate to leave the rust-vmm references in the hypervisor crate, and have the root Cargo.toml being patched. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
|
|
[package]
|
|
name = "cloud-hypervisor-fuzz"
|
|
version = "0.0.0"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
edition = "2018"
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
kvm-ioctls = { git = "https://github.com/rust-vmm/kvm-ioctls", branch = "master" }
|
|
libc = "0.2.72"
|
|
libfuzzer-sys = "0.3"
|
|
qcow = { path = "../qcow" }
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.22.0" }
|
|
virtio-devices = { path = "../virtio-devices" }
|
|
vmm-sys-util = ">=0.3.1"
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vm-memory = "0.3.0"
|
|
|
|
[dependencies.cloud-hypervisor]
|
|
path = ".."
|
|
|
|
[patch.crates-io]
|
|
vm-memory = { git = "https://github.com/cloud-hypervisor/vm-memory", branch = "ch" }
|
|
[patch.'https://github.com/rust-vmm/kvm-ioctls']
|
|
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
|
|
[patch.'https://github.com/rust-vmm/kvm-bindings']
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch", features = ["with-serde", "fam-wrappers"] }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "qcow"
|
|
path = "fuzz_targets/qcow.rs"
|
|
test = false
|
|
doc = false
|
|
|
|
[[bin]]
|
|
name = "block"
|
|
path = "fuzz_targets/block.rs"
|
|
test = false
|
|
doc = false
|