crosvm/src
Will Deacon 7d2b8ac342 devices: virtio: Advertise VIRTIO_F_ACCESS_PLATFORM for protected VMs
Virtio 1.1 introduces the VIRTIO_F_ACCESS_PLATFORM reserved feature bit,
which allows the guest operating system to discover that a virtio device
has limited access to memory. In the case of Linux, this forces the use
of the DMA API for virtio transfers, which in turn can bounce data
through a shared window that is negotiated between the guest and the
hypervisor.

Advertise the VIRTIO_F_ACCESS_PLATFORM reserved feature bit when crosvm
is running with the '--protected-vm' option.

BUG=None
TEST=./build_test

Change-Id: I78e8d9e78999790059639b64611b8081c39d24ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2453560
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Dylan Reid <dgreid@chromium.org>
2020-10-21 19:01:47 +00:00
..
plugin base: Refactor mmap to use builder pattern. 2020-10-16 07:15:24 +00:00
argument.rs Fix new clippy warnings from Rust 1.45.0 2020-07-17 06:49:30 +00:00
crosvm.rs devices: virtio: Advertise VIRTIO_F_ACCESS_PLATFORM for protected VMs 2020-10-21 19:01:47 +00:00
linux.rs devices: virtio: Advertise VIRTIO_F_ACCESS_PLATFORM for protected VMs 2020-10-21 19:01:47 +00:00
main.rs devices: virtio: Advertise VIRTIO_F_ACCESS_PLATFORM for protected VMs 2020-10-21 19:01:47 +00:00
panic_hook.rs Add "base" crate and transition crosvm usages to it from sys_util 2020-08-06 18:19:44 +00:00