mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
534f873f1a
Add support for SHMEM_MAP and SHMEM_UNMAP. This requires mapping the buffer in the device backend via VFIO and reconstituting it as a udmabuf in the proxy device. It's also necessary to handle unmap operations in the device backend, to unmap the buffer. BUG=b:201745804 TEST=launch sibling VM on manatee Change-Id: I505960cd5047ded172c25748c8aff32ac2d93cd7 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3779086 Tested-by: David Stevens <stevensd@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: David Stevens <stevensd@chromium.org>
17 lines
393 B
TOML
17 lines
393 B
TOML
[package]
|
|
name = "vm_memory"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
include = ["src/**/*", "Cargo.toml"]
|
|
|
|
[dependencies]
|
|
cfg-if = "1.0.0"
|
|
cros_async = { path = "../cros_async" }
|
|
data_model = { path = "../common/data_model" }
|
|
libc = "*"
|
|
base = { path = "../base" }
|
|
bitflags = "1"
|
|
remain = "*"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
thiserror = "*"
|