commit | 244033437e7265feecf58e51da678d972a305a79 | [log] [tgz] |
---|---|---|
author | Tatsuyuki Ishi <ishitatsuyuki@google.com> | Fri Sep 30 14:23:30 2022 +0900 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 30 05:36:51 2022 +0000 |
tree | eab8a6893401921e4127669970be6335bf9dfe42 | |
parent | 03fdffb4476f60ea987468ec910dff472aced9ff [diff] |
virtio: video: Add an Error implementation for TryFromFormatError. As a convention, error types should always implement Error, so we're doing it here. The traits are manually implemented as opposed to using ThisError; it was simple enough, and using ThisError requires making the error type an enum which makes it more verbose to construct. BUG=None TEST=cargo build --features "video-decoder,ffmpeg" Change-Id: If94926c1b2f14295b29c877c2c70d361b4adee90 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3925332 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by: 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.