crosvm/vm_control/Cargo.toml
Zihan Chen 11812a5bf9 crosvm: Make ballooning a compile time feature
Balloon support can not be compiled out, and don't need to be
disabled at run time.

BUG=b:235887451
TEST=Guest has balloon device by default, does not have balloon
device when disabled. Ballooning via cli functions by default,
return not supported when running vm has ballooning compiled out.

Change-Id: I737851496fe4c14cdbb69c48e6edf1ca9186c15a
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3786928
Tested-by: Zihan Chen <zihanchen@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Zihan Chen <zihanchen@google.com>
2022-07-27 19:21:50 +00:00

27 lines
681 B
TOML

[package]
name = "vm_control"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[features]
balloon = []
gdb = ["gdbstub_arch"]
[dependencies]
anyhow = "*"
balloon_control = { path = "../common/balloon_control" }
base = { path = "../base" }
cfg-if = "*"
data_model = { path = "../common/data_model" }
gdbstub_arch = { version = "0.2.2", optional = true }
hypervisor = { path = "../hypervisor" }
libc = "*"
remain = "*"
resources = { path = "../resources" }
rutabaga_gfx = { path = "../rutabaga_gfx"}
serde = { version = "1", features = [ "derive" ] }
serde_json = "*"
sync = { path = "../common/sync" }
thiserror = "*"
vm_memory = { path = "../vm_memory" }