crosvm/devices/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
..
pci eliminate mut from non-mut references 2019-06-04 20:29:25 +00:00
register_space edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
usb crosvm: update xhci abi to use new bit_field features 2019-05-25 02:31:16 -07:00
utils usb: set event loop thread name 2019-05-08 19:35:15 -07:00
virtio crosvm: virtio-pmem device 2019-06-05 07:28:54 +00:00
bus.rs edition: Use dyn syntax for trait objects 2019-04-08 02:51:37 -07:00
cmos.rs devices: cmos: report memory size in CMOS 2019-05-23 02:14:28 -07:00
i8042.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
ioapic.rs devices: Complete IOAPIC implementation. 2019-04-17 17:23:04 -07:00
lib.rs crosvm: add cmdline flags for configuring serial outputs in guest machine 2019-05-15 13:36:25 -07:00
pic.rs edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
pit.rs edition: Eliminate ref keyword 2019-04-18 19:51:01 -07:00
pl030.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
proxy.rs edition: Fill in macro imports 2019-04-15 02:06:07 -07:00
serial.rs devices: serial: implement MSR loop behavior 2019-05-23 02:14:11 -07:00
split_irqchip_common.rs devices: Start to implement IOAPIC. 2019-04-12 14:50:01 -07:00