mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
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>
17 lines
301 B
TOML
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" }
|