summary refs log tree commit diff
path: root/devices/src/virtio/vhost/mod.rs
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2018-04-02 15:06:15 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-04-04 22:53:28 -0700
commit2056644c7d1cbe2cecca214ef4e96de6948b4945 (patch)
treed289ed5cc5c4ab0aa142763d464c040925e37b4e /devices/src/virtio/vhost/mod.rs
parent5bed0d2ffa79bc3f2542e11da5ad5cf134f73e96 (diff)
downloadcrosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar.gz
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar.bz2
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar.lz
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar.xz
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.tar.zst
crosvm-2056644c7d1cbe2cecca214ef4e96de6948b4945.zip
crosvm: Allow disks to be specified as /proc/self/fd/X
Concierge needs to be able to pass open file descriptors to crosvm when
crosvm is executed. Use /proc/self/fd to communicate that a file is
already open. This will allow passing open FDs to concierge over D-BUS
and avoid giving the crosvm user permission to open files in different
parts of the system.

BUG=827705
TEST=Start VM with persistent storage on a USB device.

Change-Id: I1c56eeb11f95f32e235f3486eb04581851c41d90
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/991094
Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'devices/src/virtio/vhost/mod.rs')
0 files changed, 0 insertions, 0 deletions