crosvm/common
Daniel Verkamp e7c26c37ed p9: account for header in maximum message size
The previous maximum size was 64K minus 1 byte; this also did not leave
room for the request/response header, so the actual maximum transfer
size in a single request was slightly smaller.

Use 64K + 24 bytes, since this matches the P9_IOHDRSZ subtraction used
by the Linux 9p client to calculate the maximum I/O size.

BUG=b:265610073
TEST=strace 9s on host and verify larger read()/write() syscalls

Change-Id: Ia606222d3c52a7a6e3f6cfca1a9fcbd78e223855
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4455812
Reviewed-by: Junichi Uekawa <uekawa@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2023-04-24 19:25:36 +00:00
..
audio_streams audio_streams: remove unnecessary ref with cvars 2023-04-04 22:59:36 +00:00
balloon_control balloon: return balloon_actual with wss 2023-04-17 21:32:23 +00:00
cros-fuzz Enable compilation of fuzzing targets 2023-01-17 23:18:22 +00:00
cros_asyncv2 crosvm: Remove cros_asyncv2 2023-04-05 02:07:07 +00:00
data_model tree-wide: remove unnecessary casts 2023-04-17 23:43:59 +00:00
p9 p9: account for header in maximum message size 2023-04-24 19:25:36 +00:00
sync Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
chromeos_warning.md Add version pin warning to common/ 2022-04-15 19:51:35 +00:00
README.md

Crosvm General Purpose Libraries

The crates in this folder are general purpose libraries used by other projects in ChromeOS as well.

To make them accessible independendly of crosvm, each of these crates is excluded from the crosvm workspace.

List of libraries

  • cros-fuzz: Support crate for fuzzing rust code in ChromeOS
  • p9: Server implementation of the 9p file system protocol