mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
It's useful to dump the guest, which named coredump so that crash tool can be used to analysize it when guest hung up. Let's add GuestDebuggable trait and Coredumpxxx error to support coredump firstly. Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Co-authored-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
60 lines
1.9 KiB
TOML
60 lines
1.9 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
amx = []
|
|
cmos = ["devices/cmos"]
|
|
fwdebug = ["devices/fwdebug"]
|
|
gdb = ["kvm"]
|
|
guest_debug = ["kvm"]
|
|
kvm = ["hypervisor/kvm", "vfio-ioctls/kvm", "vm-device/kvm", "pci/kvm"]
|
|
mshv = ["hypervisor/mshv", "virtio-devices/mshv", "vfio-ioctls/mshv", "vm-device/mshv", "pci/mshv"]
|
|
tdx = ["arch/tdx", "hypervisor/tdx"]
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables" }
|
|
anyhow = "1.0.57"
|
|
arc-swap = "1.5.0"
|
|
arch = { path = "../arch" }
|
|
bitflags = "1.3.2"
|
|
block_util = { path = "../block_util" }
|
|
clap = "3.1.18"
|
|
devices = { path = "../devices" }
|
|
epoll = "4.3.1"
|
|
event_monitor = { path = "../event_monitor" }
|
|
gdbstub = "0.6.1"
|
|
gdbstub_arch = "0.2.2"
|
|
hypervisor = { path = "../hypervisor" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.126"
|
|
linux-loader = { version = "0.4.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.17"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" }
|
|
net_util = { path = "../net_util" }
|
|
option_parser = { path = "../option_parser" }
|
|
pci = { path = "../pci" }
|
|
qcow = { path = "../qcow" }
|
|
seccompiler = "0.2.0"
|
|
serde = { version = "1.0.137", features = ["rc", "derive"] }
|
|
serde_json = "1.0.81"
|
|
signal-hook = "0.3.14"
|
|
thiserror = "1.0.31"
|
|
uuid = "1.1.0"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false }
|
|
vfio_user = { path = "../vfio_user" }
|
|
vhdx = { path = "../vhdx" }
|
|
virtio-devices = { path = "../virtio-devices" }
|
|
virtio-queue = "0.3.0"
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.8.0", features = ["backend-mmap", "backend-atomic", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { version = "0.9.0", features = ["with-serde"] }
|