No description
Find a file
Tatsuyuki Ishi 4811773029 virtio: video: encoder: Handle SET_PARAMS_EXT's resource_type.
Previously we kept using the initial value and while this was fine for
ARC because VirtioObject was the initial value negotiated by the kernel
and ARC only used VirtioObject anyway, but this broke when using FFmpeg
which would use the mmap buffers of V4L2.

Handle the type switch like we did in the decoder.

BUG=None
TEST=arc.VideoDecodeAccel*_vm,arc.VideoEncodeAccel*_vm on hatch

Change-Id: I6f1c2d1bdaf18efb559528dfadb10baf32dbb757
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3840991
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: Tatsuyuki Ishi <ishitatsuyuki@google.com>
Commit-Queue: Tatsuyuki Ishi <ishitatsuyuki@google.com>
2022-09-06 09:42:46 +00:00
.cargo health-check: Add check for newline at ends of files 2022-08-18 00:17:04 +00:00
.devcontainer dev_container: Use host UID & GID for user in container 2022-08-23 23:16:09 +00:00
.github github: update contributing link 2022-07-29 22:54:01 +00:00
.vscode Add rust-analyzer config to .vscode/settings.json 2022-08-16 23:08:35 +00:00
aarch64 tree-wide: Rename protected_vm as protection_type 2022-09-01 22:20:40 +00:00
acpi_tables aml: Use the shortest form possible to generate integers 2022-08-30 18:08:58 +00:00
anti_tamper crosvm: upstream windows src 2022-07-19 20:58:59 +00:00
arch tree-wide: Rename protected_vm as protection_type 2022-09-01 22:20:40 +00:00
argh_helpers crosvm: Fix Windows arg parsing 2022-08-25 20:31:25 +00:00
base base: netlink: remove unused family_name_query variable 2022-09-01 18:45:50 +00:00
bin
bit_field Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
broker_ipc Reformat imports 2022-07-28 00:15:50 +00:00
ci/kokoro ci: skip choco checksum 2022-07-13 17:21:48 +00:00
common cros_asyncv2: remove pointless drop() in test 2022-09-01 19:13:40 +00:00
cros_async cros_async, hypervisor: remove unnecessary unit-valued lets 2022-09-01 18:57:14 +00:00
crosvm-fuzz cros-fuzz: enable qcow feature 2022-09-05 01:53:12 +00:00
crosvm_control crosvm_control: Also create a static lib 2022-09-01 07:33:29 +00:00
crosvm_plugin Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
devices virtio: video: encoder: Handle SET_PARAMS_EXT's resource_type. 2022-09-06 09:42:46 +00:00
disk disk: Turn Android Sparse format into a feature 2022-09-05 15:36:23 +00:00
docs/book docs: books: update instructions for using ffmpeg in the guest 2022-08-24 00:31:39 +00:00
fuse Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
gpu_display gpu_display: fix Linux keycode for '`'. 2022-09-02 18:44:41 +00:00
hypervisor cros_async, hypervisor: remove unnecessary unit-valued lets 2022-09-01 18:57:14 +00:00
infra Roll recipe dependencies (trivial). 2022-09-06 08:48:46 +00:00
integration_tests dev_container: Use host UID & GID for user in container 2022-08-23 23:16:09 +00:00
io_uring io_uring: use unsigned_abs() for isize -> usize 2022-09-01 18:46:40 +00:00
kernel_cmdline Reformat imports 2022-07-28 00:15:50 +00:00
kernel_loader Reformat imports 2022-07-28 00:15:50 +00:00
kvm cros_async, hypervisor: remove unnecessary unit-valued lets 2022-09-01 18:57:14 +00:00
kvm_sys Reformat imports 2022-07-28 00:15:50 +00:00
libcras_stub
linux_input_sys Revert "x display: ST event emulation for MT events" 2022-08-09 00:11:50 +00:00
logo
media media: ffmpeg: Fix AvPacket test not compiling. 2022-09-05 13:00:53 +00:00
metrics crosvm: resync with downstream after running clippy 2022-08-25 20:45:12 +00:00
net_sys Reformat imports 2022-07-28 00:15:50 +00:00
net_util crosvm: resync with downstream after running clippy 2022-08-25 20:45:12 +00:00
power_monitor Reformat imports 2022-07-28 00:15:50 +00:00
protos Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
qcow_utils qcow: Turn QCOW support into a feature 2022-09-01 08:13:29 +00:00
resources resources: optimize region coalescing 2022-08-03 02:09:50 +00:00
rutabaga_gfx gpu: add resource_flush() interface. 2022-09-01 21:11:50 +00:00
seccomp seccomp: allow setpriority on arm/aarch64 for gpu 2022-08-31 00:39:48 +00:00
serde_keyvalue serde_keyvalue: more natural signed number parsing 2022-08-27 03:27:48 +00:00
src windows: switch virtio-blk to BlockAsync 2022-09-02 20:17:41 +00:00
system_api_stub
tests Reformat imports 2022-07-28 00:15:50 +00:00
third_party vmm_vhost: Replace super:: with crate:: 2022-09-01 15:05:40 +00:00
tools audio_streams_conformance_test: support playback test for cras_stream 2022-09-02 01:24:20 +00:00
tpm2 Reformat imports 2022-07-28 00:15:50 +00:00
tpm2-sys tpm2-sys: build libtpm2 with -Wno-error 2022-07-28 00:26:00 +00:00
tracing health-check: Add check for newline at ends of files 2022-08-18 00:17:04 +00:00
tube_transporter Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
usb_sys Reformat imports 2022-07-28 00:15:50 +00:00
usb_util Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
vfio_sys direct_irq: support forwarding of ACPI fixed events 2022-08-09 09:24:31 +00:00
vhost Reformat imports 2022-07-28 00:15:50 +00:00
virtio_sys devices: virtio: Virtio over MMIO support 2022-08-26 12:22:31 +00:00
vm_control devices: vhost-user: block: add control server to devices command 2022-09-02 07:47:30 +00:00
vm_memory Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
win_audio crosvm: resync with downstream after running clippy 2022-08-25 20:45:12 +00:00
win_util Reformat imports 2022-07-28 00:15:50 +00:00
x86_64 tree-wide: Rename protected_vm as protection_type 2022-09-01 22:20:40 +00:00
.dockerignore
.gitignore Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
.gitmodules health-check: Add infra checks 2022-08-18 00:17:04 +00:00
.rustfmt.toml rustfmt, win_util: update to 2021 edition 2022-05-31 23:35:02 +00:00
ARCHITECTURE.md arch: allocate reserved PCI addresses first 2022-08-01 18:57:44 +00:00
Cargo.lock gdb: Upgrade gdbstub & gdbstub_arch dependencies 2022-09-01 16:24:00 +00:00
Cargo.toml devices: vhost-user: block: add control server to devices command 2022-09-02 07:47:30 +00:00
CONTRIBUTING.md contributing: fix "uploaad" typo 2022-08-01 23:30:44 +00:00
LICENSE
mypy.ini Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
navbar.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
OWNERS Add rizhang@ to OWNERS 2022-08-17 01:14:13 +00:00
PRESUBMIT.cfg Switch main crosvm repo 2022-07-14 17:58:26 +00:00
pyproject.toml Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
README.chromeos.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
README.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
run_tests
rust-toolchain rust-toolchain: update to 1.60.0 2022-07-28 17:46:00 +00:00
setup_cros_cargo.sh
test_all
unblocked_terms.txt

crosvm - The Chrome OS Virtual Machine Monitor

crosvm is a virtual machine monitor (VMM) based on Linuxs 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 doesnt 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.

Logo