No description
Find a file
Ryan Neph c64f5c984a rutabaga_gfx: virglrenderer: fix context_create_fence flag incompatibility
Virglrenderer interprets flag fences differently from crosvm, but this
path hasn't been used until the upcoming support for multiple timelines
in Venus. Virglrenderer's render_server assumes that only
VIRGL_RENDERER_FENCE_FLAG_MERGEABLE is set, but before this CL, we
mistakenly pass (RUTABAGA_FLAG_FENCE | RUTABAGA_FLAG_INFO_RING_IDX),
which match the similarly named VIRTIO_GPU_* flags passed by the guest
virtio-gpu kernel driver. Then render_server blows up...

BUG=b:258854534
TEST=vkcube in VM after supporting Venus multiple timelines

Change-Id: I778d9767882aaf820fb7c8cdd9d37dab75fefcf0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4024080
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Ryan Neph <ryanneph@google.com>
2022-11-16 21:52:31 +00:00
.cargo Remove needless_return clippy suppression 2022-11-10 18:15:58 +00:00
.devcontainer dev_container: Add mdformat-tables to dependency 2022-11-15 22:36:38 +00:00
.github
.vscode
aarch64 aarch64: load arm64 kernels at physical address 0 2022-11-15 22:12:04 +00:00
acpi_tables
anti_tamper
arch crosvm: improve suspend implementation 2022-11-16 21:38:29 +00:00
argh_helpers
base Add clippy tag for safety docs 2022-11-12 01:27:46 +00:00
bit_field
broker_ipc
common crosvm: improve suspend implementation 2022-11-16 21:38:29 +00:00
crash_report
cros_async Add clippy tag for safety docs 2022-11-12 01:27:46 +00:00
cros_fdt
cros_tracing
crosvm-fuzz
crosvm_cli crosvm_cli: improve documentation for exit codes. 2022-11-11 20:46:19 +00:00
crosvm_control
crosvm_plugin
devices devices: block: don't advertise flush for RO devices 2022-11-16 17:51:21 +00:00
disk disk/qcow: Write less blocks for testing 2022-11-09 18:39:33 +00:00
docs/book book: Fix footnote escape from mdformat 2022-11-16 01:40:29 +00:00
e2e_tests e2e_tests: Uprev kernel to 5.10 2022-11-15 21:06:40 +00:00
fuse
gpu_display gpu_display: add basic error handling to examples 2022-11-16 19:33:35 +00:00
hypervisor Fix needless return violations 2022-11-10 18:10:31 +00:00
infra Roll recipe dependencies (trivial). 2022-11-16 19:55:51 +00:00
io_uring crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
kernel_cmdline
kernel_loader kernel_loader: add arm64 kernel loader 2022-11-15 22:12:01 +00:00
kvm Add clippy tag for safety docs 2022-11-12 01:27:46 +00:00
kvm_sys crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
libcras_stub
linux_input_sys
logo
media crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
metrics metrics: migrate to proto_build_tools. 2022-11-12 01:02:23 +00:00
net_sys crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
net_util LSC: safe removal of needless_returns 2022-11-09 18:27:14 +00:00
power_monitor
prebuilts
proto_build_tools proto_build_tools: add crate for proto build tools. 2022-11-12 01:02:23 +00:00
protos protos: migrate to new build tool & cleanup. 2022-11-12 01:02:36 +00:00
qcow_utils Add clippy tag for safety docs 2022-11-12 01:27:46 +00:00
resources
rutabaga_gfx rutabaga_gfx: virglrenderer: fix context_create_fence flag incompatibility 2022-11-16 21:52:31 +00:00
sandbox
seccomp
serde_keyvalue
src crosvm: improve suspend implementation 2022-11-16 21:38:29 +00:00
swap Reland "swap: suspend device processes using SIGSTOP signal" 2022-11-14 06:14:07 +00:00
system_api
tests
third_party
tools book: Fix footnote escape from mdformat 2022-11-16 01:40:29 +00:00
tpm2
tpm2-sys
tube_transporter
usb_sys
usb_util
vfio_sys crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
vhost vhost: Move tests into an integration test 2022-11-04 06:49:36 +00:00
virtio_sys crosvm bindgen: regenerate with missing_safety_doc 2022-11-15 20:43:50 +00:00
vm_control crosvm: improve suspend implementation 2022-11-16 21:38:29 +00:00
vm_memory vm_memory: guest_memory: Remove continuation passing style of do_in_region 2022-11-15 20:46:18 +00:00
win_audio metrics: migrate to proto_build_tools. 2022-11-12 01:02:23 +00:00
win_util
x86_64 kernel_loader: rename some errors to be more generic 2022-11-15 21:01:36 +00:00
.dockerignore
.gitignore
.gitmodules
.rustfmt.toml
ARCHITECTURE.md Rename integration_tests to e2e_tests 2022-11-03 22:49:39 +00:00
build.rs
Cargo.lock Reland "swap: suspend device processes using SIGSTOP signal" 2022-11-14 06:14:07 +00:00
Cargo.toml Reland "swap: add userfaultfd wrapper" 2022-11-14 06:14:07 +00:00
CONTRIBUTING.md
DIR_METADATA
LICENSE
mypy.ini
OWNERS
PRESUBMIT.cfg
pyproject.toml
README.chromeos.md
README.md
rust-toolchain

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