mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
2a6eb31d5b
Split the generic virtio code (queues and device type) from the VirtioDevice trait, transport and device implementations. This also simplifies the feature handling in vhost_user_backend as the vm-virtio crate is no longer has any features. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
54 lines
1.7 KiB
TOML
54 lines
1.7 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
|
|
pci_support = ["pci", "vfio-ioctls", "virtio-devices/pci_support"]
|
|
mmio_support = ["virtio-devices/mmio_support"]
|
|
cmos = ["devices/cmos"]
|
|
fwdebug = ["devices/fwdebug"]
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
clap = "2.33.1"
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
arch = { path = "../arch" }
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
hypervisor = { path = "../hypervisor" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.71"
|
|
log = "0.4.8"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "master" }
|
|
net_util = { path = "../net_util" }
|
|
pci = {path = "../pci", optional = true}
|
|
qcow = { path = "../qcow" }
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.21.1" }
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
url = "2.1.1"
|
|
vfio-ioctls = { git = "https://github.com/cloud-hypervisor/vfio-ioctls", branch = "ch", optional = true }
|
|
virtio-devices = {path = "../virtio-devices"}
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.2.1", features = ["backend-mmap", "backend-atomic"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
|
|
signal-hook = "0.1.16"
|
|
tempfile = "3.1.0"
|
|
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage", "pe"]
|
|
|
|
[dev-dependencies]
|
|
credibility = "0.1.3"
|