mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-12 06:31:30 +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> (cherry picked from commit 3ce0fef7fd546467398c914dbc74d8542e45cf6f)
40 lines
1.7 KiB
TOML
40 lines
1.7 KiB
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["Microsoft Authors"]
|
|
edition = "2021"
|
|
license = "Apache-2.0 OR BSD-3-Clause"
|
|
|
|
[features]
|
|
kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"]
|
|
mshv = ["mshv-ioctls", "mshv-bindings", "vfio-ioctls/mshv", "iced-x86"]
|
|
sev_snp = ["igvm_parser", "igvm_defs"]
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.75"
|
|
byteorder = "1.4.3"
|
|
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"
|
|
log = "0.4.20"
|
|
kvm-ioctls = { version = "0.16.0", optional = true }
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch-v0.7.0", features = ["with-serde", "fam-wrappers"], optional = true }
|
|
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
|
|
mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true}
|
|
serde = { version = "1.0.168", features = ["rc", "derive"] }
|
|
serde_with = { version = "3.4.0", default-features = false, features = ["macros"] }
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vm-memory = { version = "0.14.0", features = ["backend-mmap", "backend-atomic"] }
|
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
|
thiserror = "1.0.52"
|
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
|
optional = true
|
|
version = "1.20.0"
|
|
default-features = false
|
|
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10.0"
|