No description
Find a file
Noah Gold f832d41758 devices: vsock: add connection logging for Windows.
We're trying to identify a stall in the vsock device that appears to
occur when handling a connection request. It's not entirely clear where
or why we're stalling in the codepath, so this CL adds a bunch of
logging to help us narrow things down. It also normalizes some of the
formatting for vsock info & error messages to increase log readability.

BUG=b:313558198
TEST=ran emulator w/ guest that uses vsock.

Change-Id: I89e50a1949f160ec152344e870e1e43dcf8f2e79
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5079245
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Richard Zhang <rizhang@google.com>
2023-12-02 00:19:51 +00:00
.cargo clippy: Disallow len_without_is_empty and len_zero 2023-05-22 21:27:21 +00:00
.config Enable test retries in nextest 2023-06-07 17:43:18 +00:00
.devcontainer dev_container: Replace better toml extension 2023-07-27 23:37:15 +00:00
.github Cleanup: Remove old, deprecated and no longer used files 2022-09-20 21:05:57 +00:00
.vscode Document feature flags and introduce new feature sets 2022-10-14 20:31:19 +00:00
aarch64 Only support cpufreq on arm/aarch64 2023-12-01 00:56:01 +00:00
acpi_tables crosvm: Uprev zerocopy to 0.7.x 2023-10-10 17:34:32 +00:00
arch Only support cpufreq on arm/aarch64 2023-12-01 00:56:01 +00:00
argh_helpers argh_helpers: use fold() to build String from iterator 2023-11-06 22:22:50 +00:00
audio_streams_conformance_test Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
audio_util tree-wide: apply nightly rustfmt 2023-03-27 21:30:45 +00:00
base base: unix: return Vec<SafeDecriptor> from recv_with_fds() 2023-12-01 02:11:32 +00:00
bit_field bit_field: suppress clippy cast warnings 2023-04-10 23:41:28 +00:00
broker_ipc Pass logging args to child processes 2023-10-23 23:59:55 +00:00
common data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
cros_async data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
cros_fdt fdt: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
cros_tracing cros_tracing: fix interface drift. 2023-12-02 00:02:41 +00:00
cros_tracing_types Upstream cros_tracing_types. 2023-05-11 18:08:00 +00:00
crosvm_cli Fix some cargo doc warnings in Windows-only code 2023-09-22 00:59:46 +00:00
crosvm_control crosvm_control: fix typo 2023-10-18 17:34:18 +00:00
crosvm_plugin base: unix: return Vec<SafeDecriptor> from recv_with_fds() 2023-12-01 02:11:32 +00:00
devices devices: vsock: add connection logging for Windows. 2023-12-02 00:19:51 +00:00
disk Run rustfmt on whole codebase with nightly enabled 2023-11-29 18:41:29 +00:00
docs/book docs: Add SCSI section. 2023-12-01 11:10:03 +00:00
e2e_tests e2e_tests: scsi: Add test cases for discard operations. 2023-12-01 12:07:56 +00:00
fuse fuse: Update SAFETY comments 2023-11-28 02:32:25 +00:00
fuzz data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
gpu_display gpu_display: add Surface implementation for Windows. 2023-11-28 20:04:06 +00:00
hypervisor hypervisor/README.md: add qualcomm contacts for gunyah 2023-11-29 19:20:17 +00:00
infra Roll recipe dependencies (trivial). 2023-11-28 21:19:27 +00:00
io_uring data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
jail jail: Generate fresh syscall frequency table 2023-11-29 00:45:52 +00:00
kernel_cmdline Rust 1.65: Fix clippy derive_partial_eq_without_eq lints 2022-12-01 01:32:30 +00:00
kernel_loader data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
kvm Fix tests with non-4K pages 2023-11-10 23:26:00 +00:00
kvm_sys vfio: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
libcras_stub devices: snd: Use PCM device client_type and stream_type for CRAS 2023-03-02 06:22:40 +00:00
linux_input_sys gpu_display: add KeyboardInputManager to handle key events on Windows. 2023-11-17 01:34:38 +00:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
media media: ffmpeg: update bindings to ffmpeg 6.0 2023-11-20 18:34:35 +00:00
metrics Tweaks to placate clippy single_range_in_vec_init 2023-11-06 23:36:11 +00:00
net_sys net_util, devices: refactor platform-specific net code 2023-11-27 19:23:56 +00:00
net_util net_util, devices: refactor platform-specific net code 2023-11-27 19:23:56 +00:00
perfetto cros_tracing: fix interface drift. 2023-12-02 00:02:41 +00:00
power_monitor Cargo.toml: upgrade protobuf 2.x -> 3.x 2023-04-28 19:32:01 +00:00
prebuilts Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
proto_build_tools Cargo.toml: upgrade protobuf 2.x -> 3.x 2023-04-28 19:32:01 +00:00
protos Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
resources Fix clippy useless_conversion into_iter() warnings 2023-11-06 19:43:56 +00:00
riscv64 riscv: Fix broken build after crrev.com/c/5029655 2023-11-20 18:46:07 +00:00
rutabaga_gfx Run rustfmt on whole codebase with nightly enabled 2023-11-29 18:41:29 +00:00
sandbox Add paste handling into the emulator 2023-09-08 21:29:23 +00:00
serde_keyvalue Fix clippy warning for unnecessary raw string quoting 2023-11-06 20:50:05 +00:00
src base: unix: rework ScmSocket send/recv functions 2023-12-01 01:11:48 +00:00
swap swap: pack page states into 32 bit integer 2023-11-28 04:55:21 +00:00
system_api Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
tests Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
third_party base: unix: return Vec<SafeDecriptor> from recv_with_fds() 2023-12-01 02:11:32 +00:00
tools Run rustfmt on whole codebase with nightly enabled 2023-11-29 18:41:29 +00:00
tube_transporter Fix some cargo doc warnings in Windows-only code 2023-09-22 00:59:46 +00:00
usb_sys devices: usb: Add the OWNERS file 2023-10-13 01:34:19 +00:00
usb_util usb: refactor transfer structs for multi backends 2023-11-30 10:17:44 +00:00
vendor vm_control: gpu: remove kiwi feature 2023-10-24 23:19:03 +00:00
vfio_sys vfio: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
vhost Fix tests with non-4K pages 2023-11-10 23:26:00 +00:00
virtio_sys virtio_sys: move vhost ioctls to a Linux-only file 2023-11-03 20:49:19 +00:00
vm_control hypervisor: stop restoring TSC offset snapshot. 2023-11-22 23:04:24 +00:00
vm_memory data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
win_audio Run rustfmt on whole codebase with nightly enabled 2023-11-29 18:41:29 +00:00
win_util Run rustfmt on whole codebase with nightly enabled 2023-11-29 18:41:29 +00:00
x86_64 data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
.dockerignore add docker supported builds and tests 2019-05-15 13:36:19 -07:00
.envrc Automatically register tools/ on PATH 2023-03-03 00:33:15 +00:00
.gitattributes config: force lf as line endings 2023-11-07 17:38:58 +00:00
.gitignore Automatically register tools/ on PATH 2023-03-03 00:33:15 +00:00
.gitmodules devices: remove --software-tpm support 2023-10-02 23:28:45 +00:00
.rustfmt.toml Enable rustfmt nightly in container and CI 2023-11-29 18:41:29 +00:00
ARCHITECTURE.md docs: book: update architecture docs 2023-06-01 22:37:17 +00:00
Cargo.lock rutabaga_gfx: Uprev nix to 0.27.1 2023-11-29 18:36:53 +00:00
Cargo.toml crosvm: Add more release build profiles 2023-11-16 20:18:01 +00:00
CONTRIBUTING.md Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
DIR_METADATA DIR_METADATA: Add public buganizer component 2022-09-21 17:43:59 +00:00
LICENSE Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
mypy.ini Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
OWNERS crosvm: add fmayle@ to OWNERS 2023-10-27 18:10:14 +00:00
OWNERS_COUNCIL Require council review for changes to Cargo.lock 2022-12-01 18:50:48 +00:00
PRESUBMIT.cfg Cleanup: Remove old, deprecated and no longer used files 2022-09-20 21:05:57 +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 Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
rust-toolchain Upgrade to 1.68.2: Set default version and rebuild container 2023-05-25 18:30:55 +00:00

crosvm - The ChromeOS 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 ChromeOS 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 ChromeOS devices.

Logo