commit | 7f02059afc02ef7827c368b40440a0c6264bacfc | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@chromium.org> | Sat Jun 26 23:52:04 2021 +0900 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 04 14:01:22 2021 +0000 |
tree | 3e1ad96360eb51bfa7d21bb6dc8bbd469387b376 | |
parent | 8230abf39a3e233f9fedd89149be23633cb162b7 [diff] |
virtio: video: build backends separately from the codec device The current way for building a codec device is to call the corresponding constructor method of the backend we want to use. However doing this forces us to pass the resource bridge to these constructors, introducing dependencies from the backend to parts of the code that are not used otherwise. Switch the construction method to one constructor per backend, which only takes the arguments relevant to the backend, and one device constructor that takes the backend to use as parameter. BUG=b:161774071 BUG=b:169295147 TEST=Android Youtube plays properly on Hatch. Change-Id: I493f421e982a1d2ba8292a69bae575afeee17e4c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3026349 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: Keiichi Watanabe <keiichiw@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.