mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-01 21:22:13 +00:00
6b1a35298c
This CL implements PCI hotplug feature for virtio-net device. The feature is controlled by pci-hotplug feature flag and pci-hotplug-slots runtime flag. No behavior change to crosvm unless pci-hotplug-slots flag is set to a nonzero value. BUG=b:243767476 TEST=tools/presubmit TEST=e2e_test::tap_hotplug for TAP device hotplug and removal TEST=manual test for TAP device hotplug and removal with swap Change-Id: I5a60314293ef8a27981d7b550a61822491c254bb Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4473610 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Shin Kawamura <kawasin@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Ningyuan Wang <ningyuan@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Jason Iman <jasongustaman@chromium.org>
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "vm_control"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
balloon = []
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
gpu = []
|
|
pci-hotplug = []
|
|
registered_events = ["balloon", "protos/registered_events"]
|
|
swap = ["swap/enable"]
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
balloon_control = { path = "../common/balloon_control" }
|
|
base = { path = "../base" }
|
|
cfg-if = "*"
|
|
data_model = { path = "../common/data_model" }
|
|
gdbstub = { version = "0.6.3", optional = true }
|
|
gdbstub_arch = { version = "0.2.4", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "*"
|
|
once_cell = "1.7.2"
|
|
protos = { path = "../protos", optional = true }
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
rutabaga_gfx = { path = "../rutabaga_gfx" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "*"
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
swap = { path = "../swap" }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "*"
|
|
vm_control_product = { path = "../vendor/generic/vm_control", package = "vm_control_product" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|