mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
This patch introduces the inter-vm shared memory(ivshmem) device to share a memory region between multiple processes running different guests and the host. This patch supports the basic ivshmem functions like ivshmem-plain in QEMU[1]. [1] https://www.qemu.org/docs/master/specs/ivshmem-spec.html Signed-off-by: Yi Wang <foxywang@tencent.com> Signed-off-by: Songqian Li <sionli@tencent.com>
51 lines
1.3 KiB
TOML
51 lines
1.3 KiB
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
acpi_tables = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
arch = { path = "../arch" }
|
|
bitfield-struct = { version = "0.10.1", optional = true }
|
|
bitflags = { workspace = true }
|
|
byteorder = { workspace = true }
|
|
event_monitor = { path = "../event_monitor" }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = { workspace = true }
|
|
linux-loader = { workspace = true, features = [
|
|
"bzimage",
|
|
"elf",
|
|
"pe",
|
|
], optional = true }
|
|
log = { workspace = true }
|
|
num_enum = "0.7.2"
|
|
pci = { path = "../pci" }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
tpm = { path = "../tpm" }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { workspace = true, features = [
|
|
"backend-atomic",
|
|
"backend-bitmap",
|
|
"backend-mmap",
|
|
] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { workspace = true }
|
|
zerocopy = { version = "0.8.26", features = [
|
|
"alloc",
|
|
"derive",
|
|
], optional = true }
|
|
|
|
[target.'cfg(any(target_arch = "aarch64", target_arch = "riscv64"))'.dependencies]
|
|
arch = { path = "../arch" }
|
|
|
|
[features]
|
|
default = []
|
|
fw_cfg = ["arch/fw_cfg", "bitfield-struct", "linux-loader", "zerocopy"]
|
|
ivshmem = []
|
|
kvm = ["arch/kvm"]
|
|
pvmemcontrol = []
|