crosvm/swap/Cargo.toml
Shintaro Kawamura 4196632a3e Reland "swap: suspend device processes using SIGSTOP signal"
origin:
https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3932497

ProcessesGuard stops all the crosvm processes except the caller process
using SIGSTOP signal because we must guarantee that no one changes the
guest memory contents while vmm-swap out.

This is a short term solution and will be replaced with device
suspension feature later.

See the "Write back atomicity" section in go/tanooki-phase1-dd

BUG=b:215093219
TEST=cargo build --features=swap

Change-Id: I34e528bf318e5ff9277048f3daf8608e7b09ddc7
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4016145
Reviewed-by: David Stevens <stevensd@chromium.org>
Commit-Queue: Shin Kawamura <kawasin@google.com>
2022-11-14 06:14:07 +00:00

17 lines
301 B
TOML

[package]
name = "swap"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[dependencies]
anyhow = "*"
base = { path = "../base" }
data_model = "*"
libc = "*"
tempfile = "*"
thiserror = "*"
userfaultfd = "0.5.0"
[patch.crates-io]
data_model = { path = "../common/data_model" }