mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
build: Format Cargo.toml files using taplo
Run the taplo formatter with the newly added configuration file Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
f9d3c73c15
commit
3f8cd52ffd
24
Cargo.toml
24
Cargo.toml
@ -1,13 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
|
build = "build.rs"
|
||||||
|
default-run = "cloud-hypervisor"
|
||||||
|
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
|
||||||
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
||||||
|
license = "LICENSE-APACHE & LICENSE-BSD-3-Clause"
|
||||||
name = "cloud-hypervisor"
|
name = "cloud-hypervisor"
|
||||||
version = "39.0.0"
|
version = "39.0.0"
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
|
||||||
edition = "2021"
|
|
||||||
default-run = "cloud-hypervisor"
|
|
||||||
build = "build.rs"
|
|
||||||
license = "LICENSE-APACHE & LICENSE-BSD-3-Clause"
|
|
||||||
description = "Open source Virtual Machine Monitor (VMM) that runs on top of KVM"
|
|
||||||
homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
|
||||||
# Minimum buildable version:
|
# Minimum buildable version:
|
||||||
# Keep in sync with version in .github/workflows/build.yaml
|
# Keep in sync with version in .github/workflows/build.yaml
|
||||||
# Policy on MSRV (see #4318):
|
# Policy on MSRV (see #4318):
|
||||||
@ -18,15 +18,15 @@ homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
|||||||
rust-version = "1.77.0"
|
rust-version = "1.77.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
lto = true
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
strip = true
|
strip = true
|
||||||
|
|
||||||
[profile.profiling]
|
[profile.profiling]
|
||||||
|
debug = true
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
strip = false
|
strip = false
|
||||||
debug = true
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.81"
|
anyhow = "1.0.81"
|
||||||
@ -45,9 +45,9 @@ signal-hook = "0.3.17"
|
|||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
tpm = { path = "tpm" }
|
tpm = { path = "tpm" }
|
||||||
tracer = { path = "tracer" }
|
tracer = { path = "tracer" }
|
||||||
|
vm-memory = "0.14.1"
|
||||||
vmm = { path = "vmm" }
|
vmm = { path = "vmm" }
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
vm-memory = "0.14.1"
|
|
||||||
zbus = { version = "3.15.2", optional = true }
|
zbus = { version = "3.15.2", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@ -61,8 +61,8 @@ wait-timeout = "0.2.0"
|
|||||||
# Please adjust `vmm::feature_list()` accordingly when changing the
|
# Please adjust `vmm::feature_list()` accordingly when changing the
|
||||||
# feature list below
|
# feature list below
|
||||||
[features]
|
[features]
|
||||||
default = ["kvm", "io_uring"]
|
|
||||||
dbus_api = ["zbus", "vmm/dbus_api"]
|
dbus_api = ["zbus", "vmm/dbus_api"]
|
||||||
|
default = ["kvm", "io_uring"]
|
||||||
dhat-heap = ["dhat", "vmm/dhat-heap"] # For heap profiling
|
dhat-heap = ["dhat", "vmm/dhat-heap"] # For heap profiling
|
||||||
guest_debug = ["vmm/guest_debug"]
|
guest_debug = ["vmm/guest_debug"]
|
||||||
igvm = ["vmm/igvm", "mshv"]
|
igvm = ["vmm/igvm", "mshv"]
|
||||||
@ -97,5 +97,5 @@ members = [
|
|||||||
"vm-allocator",
|
"vm-allocator",
|
||||||
"vm-device",
|
"vm-device",
|
||||||
"vm-migration",
|
"vm-migration",
|
||||||
"vm-virtio"
|
"vm-virtio",
|
||||||
]
|
]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "api_client"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "api_client"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "arch"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "arch"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -19,7 +19,10 @@ log = "0.4.21"
|
|||||||
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
uuid = "1.8.0"
|
uuid = "1.8.0"
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
|
authors = ["The Cloud Hypervisor Authors", "The Chromium OS Authors"]
|
||||||
|
edition = "2021"
|
||||||
name = "block"
|
name = "block"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
|
||||||
authors = ["The Cloud Hypervisor Authors", "The Chromium OS Authors"]
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -21,6 +21,10 @@ thiserror = "1.0.60"
|
|||||||
uuid = { version = "1.8.0", features = ["v4"] }
|
uuid = { version = "1.8.0", features = ["v4"] }
|
||||||
virtio-bindings = { version = "0.2.2", features = ["virtio-v5_0_0"] }
|
virtio-bindings = { version = "0.2.2", features = ["virtio-v5_0_0"] }
|
||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-virtio = { path = "../vm-virtio" }
|
vm-virtio = { path = "../vm-virtio" }
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "devices"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "devices"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" }
|
acpi_tables = { git = "https://github.com/rust-vmm/acpi_tables", branch = "main" }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "event_monitor"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "event_monitor"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
flume = "0.11.0"
|
flume = "0.11.0"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cloud-hypervisor-fuzz"
|
|
||||||
version = "0.0.0"
|
|
||||||
authors = ["Automatically generated"]
|
authors = ["Automatically generated"]
|
||||||
publish = false
|
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "cloud-hypervisor-fuzz"
|
||||||
|
publish = false
|
||||||
|
version = "0.0.0"
|
||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
@ -24,12 +24,12 @@ once_cell = "1.19.0"
|
|||||||
seccompiler = "0.4.0"
|
seccompiler = "0.4.0"
|
||||||
virtio-devices = { path = "../virtio-devices" }
|
virtio-devices = { path = "../virtio-devices" }
|
||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vmm = { path = "../vmm", features = ["guest_debug"]}
|
vm-device = { path = "../vm-device" }
|
||||||
vmm-sys-util = "0.12.1"
|
|
||||||
vm-memory = "0.14.1"
|
vm-memory = "0.14.1"
|
||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
vm-device = { path = "../vm-device" }
|
|
||||||
vm-virtio = { path = "../vm-virtio" }
|
vm-virtio = { path = "../vm-virtio" }
|
||||||
|
vmm = { path = "../vmm", features = ["guest_debug"] }
|
||||||
|
vmm-sys-util = "0.12.1"
|
||||||
|
|
||||||
[dependencies.cloud-hypervisor]
|
[dependencies.cloud-hypervisor]
|
||||||
path = ".."
|
path = ".."
|
||||||
@ -39,97 +39,97 @@ path = ".."
|
|||||||
members = ["."]
|
members = ["."]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "balloon"
|
name = "balloon"
|
||||||
path = "fuzz_targets/balloon.rs"
|
path = "fuzz_targets/balloon.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "block"
|
name = "block"
|
||||||
path = "fuzz_targets/block.rs"
|
path = "fuzz_targets/block.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "cmos"
|
name = "cmos"
|
||||||
path = "fuzz_targets/cmos.rs"
|
path = "fuzz_targets/cmos.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "console"
|
name = "console"
|
||||||
path = "fuzz_targets/console.rs"
|
path = "fuzz_targets/console.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "http_api"
|
name = "http_api"
|
||||||
path = "fuzz_targets/http_api.rs"
|
path = "fuzz_targets/http_api.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "iommu"
|
name = "iommu"
|
||||||
path = "fuzz_targets/iommu.rs"
|
path = "fuzz_targets/iommu.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "linux_loader"
|
name = "linux_loader"
|
||||||
path = "fuzz_targets/linux_loader.rs"
|
path = "fuzz_targets/linux_loader.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "linux_loader_cmdline"
|
name = "linux_loader_cmdline"
|
||||||
path = "fuzz_targets/linux_loader_cmdline.rs"
|
path = "fuzz_targets/linux_loader_cmdline.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "mem"
|
name = "mem"
|
||||||
path = "fuzz_targets/mem.rs"
|
path = "fuzz_targets/mem.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "net"
|
name = "net"
|
||||||
path = "fuzz_targets/net.rs"
|
path = "fuzz_targets/net.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "pmem"
|
name = "pmem"
|
||||||
path = "fuzz_targets/pmem.rs"
|
path = "fuzz_targets/pmem.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "qcow"
|
name = "qcow"
|
||||||
path = "fuzz_targets/qcow.rs"
|
path = "fuzz_targets/qcow.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "rng"
|
name = "rng"
|
||||||
path = "fuzz_targets/rng.rs"
|
path = "fuzz_targets/rng.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "serial"
|
name = "serial"
|
||||||
path = "fuzz_targets/serial.rs"
|
path = "fuzz_targets/serial.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "vhdx"
|
name = "vhdx"
|
||||||
path = "fuzz_targets/vhdx.rs"
|
path = "fuzz_targets/vhdx.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
doc = false
|
||||||
name = "watchdog"
|
name = "watchdog"
|
||||||
path = "fuzz_targets/watchdog.rs"
|
path = "fuzz_targets/watchdog.rs"
|
||||||
test = false
|
test = false
|
||||||
doc = false
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "hypervisor"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Microsoft Authors"]
|
authors = ["Microsoft Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "Apache-2.0 OR BSD-3-Clause"
|
license = "Apache-2.0 OR BSD-3-Clause"
|
||||||
|
name = "hypervisor"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"]
|
kvm = ["kvm-ioctls", "kvm-bindings", "vfio-ioctls/kvm"]
|
||||||
@ -16,24 +16,32 @@ anyhow = "1.0.81"
|
|||||||
byteorder = "1.5.0"
|
byteorder = "1.5.0"
|
||||||
igvm = { version = "0.2.0", optional = true }
|
igvm = { version = "0.2.0", optional = true }
|
||||||
igvm_defs = { version = "0.2.0", optional = true }
|
igvm_defs = { version = "0.2.0", optional = true }
|
||||||
libc = "0.2.153"
|
|
||||||
log = "0.4.21"
|
|
||||||
kvm-bindings = { version = "0.8.1", optional = true, features = ["serde"] }
|
kvm-bindings = { version = "0.8.1", optional = true, features = ["serde"] }
|
||||||
kvm-ioctls = { version = "0.17.0", optional = true }
|
kvm-ioctls = { version = "0.17.0", optional = true }
|
||||||
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = ["with-serde", "fam-wrappers"], optional = true }
|
libc = "0.2.153"
|
||||||
|
log = "0.4.21"
|
||||||
|
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 }
|
mshv-ioctls = { git = "https://github.com/rust-vmm/mshv", branch = "main", optional = true }
|
||||||
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
||||||
serde_with = { version = "3.7.0", default-features = false, features = ["macros"] }
|
serde_with = { version = "3.7.0", default-features = false, features = [
|
||||||
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
"macros",
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] }
|
] }
|
||||||
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
|
||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
||||||
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
] }
|
||||||
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
[target.'cfg(target_arch = "x86_64")'.dependencies.iced-x86]
|
||||||
optional = true
|
|
||||||
version = "1.21.0"
|
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
features = ["std", "decoder", "op_code_info", "instr_info", "fast_fmt"]
|
||||||
|
optional = true
|
||||||
|
version = "1.21.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11.3"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "net_gen"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "net_gen"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "net_util"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "net_util"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
epoll = "4.3.3"
|
epoll = "4.3.3"
|
||||||
@ -15,7 +15,11 @@ serde = {version = "1.0.197",features = ["derive"]}
|
|||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
virtio-bindings = "0.2.2"
|
virtio-bindings = "0.2.2"
|
||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-virtio = { path = "../vm-virtio" }
|
vm-virtio = { path = "../vm-virtio" }
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "option_parser"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "option_parser"
|
||||||
|
version = "0.1.0"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "pci"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "pci"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -13,16 +13,22 @@ mshv = ["vfio-ioctls/mshv"]
|
|||||||
anyhow = "1.0.81"
|
anyhow = "1.0.81"
|
||||||
byteorder = "1.5.0"
|
byteorder = "1.5.0"
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main", features = ["fam-wrappers"] }
|
vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main", features = [
|
||||||
|
"fam-wrappers",
|
||||||
|
] }
|
||||||
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
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" }
|
vfio_user = { git = "https://github.com/rust-vmm/vfio-user", branch = "main" }
|
||||||
|
|
||||||
vmm-sys-util = "0.12.1"
|
|
||||||
libc = "0.2.153"
|
libc = "0.2.153"
|
||||||
log = "0.4.21"
|
log = "0.4.21"
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1.0.197", features = ["derive"] }
|
||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
vm-allocator = { path = "../vm-allocator" }
|
vm-allocator = { path = "../vm-allocator" }
|
||||||
vm-device = { path = "../vm-device" }
|
vm-device = { path = "../vm-device" }
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[package]
|
[package]
|
||||||
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
|
build = "../build.rs"
|
||||||
|
edition = "2021"
|
||||||
name = "performance-metrics"
|
name = "performance-metrics"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
|
||||||
edition = "2021"
|
|
||||||
build = "../build.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.5.4", features = ["wrap_help"] }
|
clap = { version = "4.5.4", features = ["wrap_help"] }
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
|
edition = "2021"
|
||||||
name = "rate_limiter"
|
name = "rate_limiter"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
epoll = "4.3.3"
|
epoll = "4.3.3"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "serial_buffer"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "serial_buffer"
|
||||||
|
version = "0.1.0"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "test_infra"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "test_infra"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tpm"
|
|
||||||
edition = "2021"
|
|
||||||
authors = ["Microsoft Authors"]
|
authors = ["Microsoft Authors"]
|
||||||
|
edition = "2021"
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
name = "tpm"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tracer"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "tracer"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "0.2.153"
|
libc = "0.2.153"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
[package]
|
[package]
|
||||||
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
|
build = "../build.rs"
|
||||||
|
edition = "2021"
|
||||||
name = "vhost_user_block"
|
name = "vhost_user_block"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
|
||||||
edition = "2021"
|
|
||||||
build = "../build.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.5.4", features = ["wrap_help","cargo"] }
|
|
||||||
block = { path = "../block" }
|
block = { path = "../block" }
|
||||||
|
clap = { version = "4.5.4", features = ["wrap_help", "cargo"] }
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11.3"
|
||||||
epoll = "4.3.3"
|
epoll = "4.3.3"
|
||||||
libc = "0.2.153"
|
libc = "0.2.153"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
[package]
|
[package]
|
||||||
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
|
build = "../build.rs"
|
||||||
|
edition = "2021"
|
||||||
name = "vhost_user_net"
|
name = "vhost_user_net"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
|
||||||
edition = "2021"
|
|
||||||
build = "../build.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "4.5.4", features = ["wrap_help", "cargo"] }
|
clap = { version = "4.5.4", features = ["wrap_help", "cargo"] }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "virtio-devices"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "virtio-devices"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -24,15 +24,26 @@ rate_limiter = { path = "../rate_limiter" }
|
|||||||
seccompiler = "0.4.0"
|
seccompiler = "0.4.0"
|
||||||
serde = { version = "1.0.197", features = ["derive"] }
|
serde = { version = "1.0.197", features = ["derive"] }
|
||||||
serde_json = "1.0.115"
|
serde_json = "1.0.115"
|
||||||
serde_with = { version = "3.7.0", default-features = false, features = ["macros"] }
|
serde_with = { version = "3.7.0", default-features = false, features = [
|
||||||
|
"macros",
|
||||||
|
] }
|
||||||
serial_buffer = { path = "../serial_buffer" }
|
serial_buffer = { path = "../serial_buffer" }
|
||||||
thiserror = "1.0.60"
|
thiserror = "1.0.60"
|
||||||
vhost = { version = "0.11.0", features = ["vhost-user-frontend", "vhost-user-backend", "vhost-kern", "vhost-vdpa"] }
|
vhost = { version = "0.11.0", features = [
|
||||||
|
"vhost-user-frontend",
|
||||||
|
"vhost-user-backend",
|
||||||
|
"vhost-kern",
|
||||||
|
"vhost-vdpa",
|
||||||
|
] }
|
||||||
virtio-bindings = { version = "0.2.2", features = ["virtio-v5_0_0"] }
|
virtio-bindings = { version = "0.2.2", features = ["virtio-v5_0_0"] }
|
||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vm-allocator = { path = "../vm-allocator" }
|
vm-allocator = { path = "../vm-allocator" }
|
||||||
vm-device = { path = "../vm-device" }
|
vm-device = { path = "../vm-device" }
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
vm-virtio = { path = "../vm-virtio" }
|
vm-virtio = { path = "../vm-virtio" }
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vm-allocator"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Chromium OS Authors"]
|
authors = ["The Chromium OS Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "vm-allocator"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "0.2.153"
|
libc = "0.2.153"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vm-device"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "vm-device"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -12,8 +12,8 @@ mshv = ["vfio-ioctls/mshv"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.81"
|
anyhow = "1.0.81"
|
||||||
hypervisor = { path = "../hypervisor" }
|
hypervisor = { path = "../hypervisor" }
|
||||||
thiserror = "1.0.60"
|
|
||||||
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
||||||
|
thiserror = "1.0.60"
|
||||||
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap"] }
|
vm-memory = { version = "0.14.1", features = ["backend-mmap"] }
|
||||||
vmm-sys-util = "0.12.1"
|
vmm-sys-util = "0.12.1"
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vm-migration"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "vm-migration"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.81"
|
anyhow = "1.0.81"
|
||||||
thiserror = "1.0.60"
|
|
||||||
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
serde = { version = "1.0.197", features = ["rc", "derive"] }
|
||||||
serde_json = "1.0.115"
|
serde_json = "1.0.115"
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic"] }
|
thiserror = "1.0.60"
|
||||||
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
] }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vm-virtio"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "vm-virtio"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
@ -10,4 +10,8 @@ default = []
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
log = "0.4.21"
|
log = "0.4.21"
|
||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "vmm"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["The Cloud Hypervisor Authors"]
|
authors = ["The Cloud Hypervisor Authors"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
name = "vmm"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
|
||||||
dbus_api = ["blocking", "futures", "zbus"]
|
dbus_api = ["blocking", "futures", "zbus"]
|
||||||
|
default = []
|
||||||
dhat-heap = ["dhat"] # For heap profiling
|
dhat-heap = ["dhat"] # For heap profiling
|
||||||
guest_debug = ["kvm", "gdbstub", "gdbstub_arch"]
|
guest_debug = ["kvm", "gdbstub", "gdbstub_arch"]
|
||||||
igvm = ["hex", "dep:igvm", "igvm_defs", "mshv-bindings", "range_map_vec"]
|
igvm = ["hex", "dep:igvm", "igvm_defs", "mshv-bindings", "range_map_vec"]
|
||||||
@ -43,7 +43,10 @@ libc = "0.2.153"
|
|||||||
linux-loader = { version = "0.11.0", features = ["elf", "bzimage", "pe"] }
|
linux-loader = { version = "0.11.0", features = ["elf", "bzimage", "pe"] }
|
||||||
log = "0.4.21"
|
log = "0.4.21"
|
||||||
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
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 }
|
mshv-bindings = { git = "https://github.com/rust-vmm/mshv", branch = "main", features = [
|
||||||
|
"with-serde",
|
||||||
|
"fam-wrappers",
|
||||||
|
], optional = true }
|
||||||
net_util = { path = "../net_util" }
|
net_util = { path = "../net_util" }
|
||||||
once_cell = "1.19.0"
|
once_cell = "1.19.0"
|
||||||
option_parser = { path = "../option_parser" }
|
option_parser = { path = "../option_parser" }
|
||||||
@ -64,7 +67,11 @@ virtio-devices = { path = "../virtio-devices" }
|
|||||||
virtio-queue = "0.12.0"
|
virtio-queue = "0.12.0"
|
||||||
vm-allocator = { path = "../vm-allocator" }
|
vm-allocator = { path = "../vm-allocator" }
|
||||||
vm-device = { path = "../vm-device" }
|
vm-device = { path = "../vm-device" }
|
||||||
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
vm-memory = { version = "0.14.1", features = [
|
||||||
|
"backend-mmap",
|
||||||
|
"backend-atomic",
|
||||||
|
"backend-bitmap",
|
||||||
|
] }
|
||||||
vm-migration = { path = "../vm-migration" }
|
vm-migration = { path = "../vm-migration" }
|
||||||
vm-virtio = { path = "../vm-virtio" }
|
vm-virtio = { path = "../vm-virtio" }
|
||||||
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
vmm-sys-util = { version = "0.12.1", features = ["with-serde"] }
|
||||||
|
Loading…
Reference in New Issue
Block a user