crosvm/sys_util/src
Jakub Staron a3411eaac1 crosvm: virtio-pmem device
Adds support for virtio-pmem device as an alternative for virtio-blk.

Exposing disk image to guest as virtio-blk device results in both guest
and host independently caching the disk I/O. Using virtio-pmem device
allows to mount disk image as direct access (DAX) in the guest and thus
bypass the guest cache. This will reduce memory foodprint of the VMs.

BUG=None
TEST=cargo test
TEST=Boot patched termina kernel in crosvm; mount virtio-pmem device as
DAX and run xfstests.

Change-Id: I935fc8fc7527f79e5169f07ec7927e4ea4fa6027
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1605517
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Commit-Queue: Jakub Staroń <jstaron@google.com>
2019-06-05 07:28:54 +00:00
..
affinity.rs clippy: Iterate without calling .iter() 2019-04-18 19:51:01 -07:00
alloc.rs crosvm: add license blurb to all files 2019-04-24 15:51:38 -07:00
capabilities.rs edition: Remove extern crate lines 2019-04-15 02:06:08 -07:00
clock.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
errno.rs
eventfd.rs
file_flags.rs edition: Use dyn syntax for trait objects 2019-04-08 02:51:37 -07:00
file_traits.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
fork.rs
guest_address.rs
guest_memory.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
handle_eintr.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
ioctl.rs sys_util: Enable macros imported individually 2019-04-15 02:06:04 -07:00
lib.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
mmap.rs crosvm: virtio-pmem device 2019-06-05 07:28:54 +00:00
net.rs eliminate usage of uninitialized 2019-05-23 07:35:18 -07:00
passwd.rs
poll.rs clippy: Iterate without calling .iter() 2019-04-18 19:51:01 -07:00
priority.rs
raw_fd.rs
seek_hole.rs
shm.rs eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
signal.rs
signalfd.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
sock_ctrl_msg.rs
struct_util.rs
syslog.rs crosvm: add cmdline flags for configuring serial outputs in guest machine 2019-05-15 13:36:25 -07:00
tempdir.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
terminal.rs
timerfd.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
write_zeroes.rs clippy: Iterate without calling .iter() 2019-04-18 19:51:01 -07:00