mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
7d2b8ac342
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> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |