mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
20ba271b6c
This implements the send() function of the Transportable trait, so that the guest memory regions can be saved into one file per region. This will need to be extended for live migration, as it will require other transport methods and the recv() function will need to be implemented too. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
49 lines
1.6 KiB
TOML
49 lines
1.6 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi"]
|
|
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
|
mmio_support = ["vm-virtio/mmio_support"]
|
|
cmos = ["devices/cmos"]
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
clap = "2.33.0"
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
arch = { path = "../arch" }
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch", features = ["with-serde", "fam-wrappers"] }
|
|
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.68"
|
|
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 = { path = "../vfio", optional = true }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.2.0", 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.13"
|
|
tempfile = "3.1.0"
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|