commit | 1a3c424752b22180272a6d9fc704c3a9d4a6cc2a | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Wed Jun 23 22:41:37 2021 +0900 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 13 07:47:56 2022 +0000 |
tree | eaab40f1ac8829d387b195ede3a809906699bdcc | |
parent | 40ab5caf1d3979d02f05a786daa8bba85c6d5cb9 [diff] |
virtio: video: add support for guest memory Supporting guest memory is necessary for many guests that expect to render into guest-allocated memory (as opposed to the virtio-object method that is for now rather specific to Chrome OS). Add support for this kind of memory in the form of SG lists. BUG=b:209523781 TEST=Android Youtube plays properly on Hatch. TEST=v4l2r's test decoder can allocate MMAP buffers. Change-Id: I9864113ca2b88a23db8204ee7dd8d38801857c25 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2982247 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.