summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2019-11-26 16:55:19 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-06 04:28:39 +0000
commitc0385a09161fc2570354a071af4a945d81528c08 (patch)
treee8dabc1a7027539c0f3387670f328da1c713411f /src/linux.rs
parentc0a1f5318e3b5aa9d7dc850536b4b52298245334 (diff)
downloadcrosvm-c0385a09161fc2570354a071af4a945d81528c08.tar
crosvm-c0385a09161fc2570354a071af4a945d81528c08.tar.gz
crosvm-c0385a09161fc2570354a071af4a945d81528c08.tar.bz2
crosvm-c0385a09161fc2570354a071af4a945d81528c08.tar.lz
crosvm-c0385a09161fc2570354a071af4a945d81528c08.tar.xz
crosvm-c0385a09161fc2570354a071af4a945d81528c08.tar.zst
crosvm-c0385a09161fc2570354a071af4a945d81528c08.zip
sys_util: don't implement File*Volatile for SharedMemory
The implementations of FileReadWriteVolatile and FileReadWriteAtVolatile
for SharedMemory are never used; SharedMemory is typically accessed as a
memory mapping, not as a writable/readable file-like object.  Remove the
implementation of these traits for SharedMemory to simplify porting to
other platforms where SharedMemory may not necessarily be backed by a
file-like object.

BUG=None
TEST=./build_test.py

Change-Id: I9c1e46ad2d3299b8676fad33151cde7c4b1c7b8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1937555
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'src/linux.rs')
0 files changed, 0 insertions, 0 deletions