mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 18:45:19 +00:00
f35d573431
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> (cherry picked from commit 3ce0fef7fd546467398c914dbc74d8542e45cf6f)
72 lines
2.9 KiB
TOML
72 lines
2.9 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
dbus_api = ["blocking", "futures", "zbus"]
|
|
guest_debug = ["kvm", "gdbstub", "gdbstub_arch"]
|
|
igvm = ["hex", "igvm_parser", "igvm_defs", "mshv-bindings", "range_map_vec"]
|
|
io_uring = ["block/io_uring"]
|
|
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm", "vm-device/kvm", "pci/kvm"]
|
|
mshv = ["hypervisor/mshv", "vfio-ioctls/mshv", "vm-device/mshv", "pci/mshv"]
|
|
sev_snp = ["arch/sev_snp", "hypervisor/sev_snp"]
|
|
tdx = ["arch/tdx", "hypervisor/tdx"]
|
|
tracing = ["tracer/tracing"]
|
|
|
|
[dependencies]
|
|
acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" }
|
|
anyhow = "1.0.75"
|
|
arc-swap = "1.5.1"
|
|
arch = { path = "../arch" }
|
|
bitflags = "2.4.1"
|
|
block = { path = "../block" }
|
|
blocking = { version = "1.3.0", optional = true }
|
|
cfg-if = "1.0.0"
|
|
clap = "4.4.7"
|
|
devices = { path = "../devices" }
|
|
epoll = "4.3.3"
|
|
event_monitor = { path = "../event_monitor" }
|
|
flume = "0.10.14"
|
|
futures = { version = "0.3.27", optional = true }
|
|
gdbstub = { version = "0.7.0", optional = true }
|
|
gdbstub_arch = { version = "0.3.0", optional = true }
|
|
hex = { version = "0.4.3", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
igvm_defs = { git = "https://github.com/microsoft/igvm", branch = "main", package = "igvm_defs", optional = true }
|
|
igvm_parser = { git = "https://github.com/microsoft/igvm", branch = "main", package = "igvm", optional = true }
|
|
libc = "0.2.147"
|
|
linux-loader = { version = "0.11.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.20"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
|
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
|
|
net_util = { path = "../net_util" }
|
|
once_cell = "1.18.0"
|
|
option_parser = { path = "../option_parser" }
|
|
pci = { path = "../pci" }
|
|
range_map_vec = { version = "0.1.0", optional = true }
|
|
seccompiler = "0.4.0"
|
|
serde = { version = "1.0.168", features = ["rc", "derive"] }
|
|
serde_json = "1.0.107"
|
|
serial_buffer = { path = "../serial_buffer" }
|
|
signal-hook = "0.3.17"
|
|
thiserror = "1.0.40"
|
|
tracer = { path = "../tracer" }
|
|
uuid = "1.3.4"
|
|
versionize = "0.2.0"
|
|
versionize_derive = "0.1.6"
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vfio_user = { git = "https://github.com/rust-vmm/vfio-user", branch = "main" }
|
|
virtio-devices = { path = "../virtio-devices" }
|
|
virtio-queue = "0.11.0"
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.14.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
|
zbus = { version = "3.11.1", optional = true }
|
|
zerocopy = { version = "0.7.21", features = ["alloc","derive"] }
|